Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009293/0.0009293, allocations: 84.44 kB / 20.7 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9011/0.9011, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5598/0.5598, allocations: 114 MB / 374.7 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.5555 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.125e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001778/0.001799, allocations: 1.427 MB / 0.5569 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.00494, allocations: 2.676 MB / 0.5595 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.004977, allocations: 0 / 0.5595 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.004999, allocations: 7.922 kB / 0.5595 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.005054, allocations: 15.8 kB / 0.5595 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.007712, allocations: 1.652 MB / 0.5612 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.007792, allocations: 47.67 kB / 0.5612 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.007828, allocations: 4 kB / 0.5612 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.007867, allocations: 15.98 kB / 0.5612 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.007889, allocations: 11.94 kB / 0.5612 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.007903, allocations: 7.938 kB / 0.5612 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.009455, allocations: 1.482 MB / 0.5627 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.009474, allocations: 11.94 kB / 0.5627 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.0095, allocations: 11.98 kB / 0.5627 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.01073, allocations: 1.278 MB / 0.564 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01073, allocations: 0 / 0.564 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01073, allocations: 0 / 0.564 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.01074, allocations: 0 / 0.564 GB, free: 9.539 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005112/0.01125, allocations: 472 kB / 0.5644 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01129, allocations: 12.62 kB / 0.5644 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.01134, allocations: 84.11 kB / 0.5645 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.01145, allocations: 199.1 kB / 0.5647 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.01149, allocations: 150.9 kB / 0.5648 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.01153, allocations: 150.9 kB / 0.565 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.454e-05/0.01159, allocations: 104.9 kB / 0.5651 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.01161, allocations: 87.27 kB / 0.5652 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.01165, allocations: 154.6 kB / 0.5653 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.01169, allocations: 154.5 kB / 0.5655 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.01173, allocations: 154.5 kB / 0.5656 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.01193, allocations: 413.6 kB / 0.566 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.012, allocations: 169.2 kB / 0.5662 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.01203, allocations: 80.14 kB / 0.5662 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01205, allocations: 75.28 kB / 0.5663 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.01209, allocations: 113.8 kB / 0.5664 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.01209, allocations: 0 / 0.5664 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.303e-05/0.01216, allocations: 45.58 kB / 0.5665 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.01221, allocations: 126.7 kB / 0.5666 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01233, allocations: 133.7 kB / 0.5667 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-06/0.01234, allocations: 25.7 kB / 0.5667 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.01238, allocations: 92.14 kB / 0.5668 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.01238, allocations: 0 / 0.5668 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.01241, allocations: 17.7 kB / 0.5668 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.0125, allocations: 318.8 kB / 0.5671 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.01252, allocations: 4 kB / 0.5671 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.01254, allocations: 16.05 kB / 0.5672 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.01257, allocations: 8.859 kB / 0.5672 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01257, allocations: 4.031 kB / 0.5672 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001133/0.01268, allocations: 61.53 kB / 0.5672 GB, free: 6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.0127, allocations: 4 kB / 0.5672 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.01272, allocations: 4 kB / 0.5672 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01273, allocations: 0 / 0.5672 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.01273, allocations: 0 / 0.5672 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.01274, allocations: 11.86 kB / 0.5673 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.01276, allocations: 7.938 kB / 0.5673 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.01276, allocations: 0 / 0.5673 GB, free: 5.973 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.01285, allocations: 185.1 kB / 0.5674 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.0129, allocations: 116.8 kB / 0.5676 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.01294, allocations: 108.8 kB / 0.5677 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/0.01298, allocations: 184.2 kB / 0.5678 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.727e-05/0.01303, allocations: 184.2 kB / 0.568 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-05/0.01308, allocations: 176.3 kB / 0.5682 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01321, allocations: 364.8 kB / 0.5685 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.01324, allocations: 101 kB / 0.5686 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.01326, allocations: 109 kB / 0.5687 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-05/0.0133, allocations: 184.2 kB / 0.5689 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.01335, allocations: 180.2 kB / 0.5691 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.103e-05/0.01339, allocations: 184.2 kB / 0.5692 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.35e-05/0.01344, allocations: 184.3 kB / 0.5694 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.01354, allocations: 311.7 kB / 0.5697 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.01357, allocations: 108.9 kB / 0.5698 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.01362, allocations: 188.1 kB / 0.57 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.01367, allocations: 105.3 kB / 0.5701 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.01372, allocations: 180.2 kB / 0.5703 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.01375, allocations: 113 kB / 0.5704 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.0138, allocations: 101.1 kB / 0.5705 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.0138, allocations: 0 / 0.5705 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004917/0.01429, allocations: 295 kB / 0.5708 GB, free: 2.203 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000781/0.01507, allocations: 0.5894 MB / 0.5713 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.01516, allocations: 33.7 kB / 0.5714 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01516, allocations: 0 / 0.5714 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.01516, allocations: 0 / 0.5714 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01546, allocations: 475.7 kB / 0.5718 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.01574, allocations: 249.6 kB / 0.5721 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01578, allocations: 71.33 kB / 0.5721 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.01579, allocations: 8.5 kB / 0.5721 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01579, allocations: 0 / 0.5721 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of Templates: time 0.005474/0.02127, allocations: 4.994 MB / 0.577 GB, free: 11.74 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.275594457983971] Failed to read output from testmodel.py, exit status != 0: 0.026772094890475273 0.037449615000000006 0.024553890000000002 Calling exit ...