Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007499/0.0007499, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007534/0.0007534, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8362/0.8362, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5223/0.5223, allocations: 110.2 MB / 370.2 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5485 GB, free: 8.293 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.097e-05, allocations: 2.281 kB / 0.5485 GB, free: 8.289 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004078/0.004099, allocations: 3.911 MB / 0.5523 GB, free: 4.348 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001065/0.004206, allocations: 131.5 kB / 0.5524 GB, free: 4.219 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.004228, allocations: 0 / 0.5524 GB, free: 4.219 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.004331, allocations: 4 kB / 0.5524 GB, free: 4.215 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/0.004403, allocations: 15.84 kB / 0.5524 GB, free: 4.199 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.00467, allocations: 91.62 kB / 0.5525 GB, free: 4.109 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.004744, allocations: 31.8 kB / 0.5526 GB, free: 4.078 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.004784, allocations: 3.984 kB / 0.5526 GB, free: 4.074 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.004836, allocations: 23.97 kB / 0.5526 GB, free: 4.051 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.004896, allocations: 8 kB / 0.5526 GB, free: 4.043 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.004907, allocations: 0 / 0.5526 GB, free: 4.043 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.005046, allocations: 63.67 kB / 0.5527 GB, free: 3.98 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.005089, allocations: 11.98 kB / 0.5527 GB, free: 3.969 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.005107, allocations: 7.984 kB / 0.5527 GB, free: 3.961 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.005222, allocations: 63.8 kB / 0.5527 GB, free: 3.898 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005223, allocations: 0 / 0.5527 GB, free: 3.898 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005224, allocations: 0 / 0.5527 GB, free: 3.898 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005228, allocations: 0 / 0.5527 GB, free: 3.898 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003019/0.00553, allocations: 262.3 kB / 0.553 GB, free: 3.613 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.005563, allocations: 8.031 kB / 0.553 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.005599, allocations: 4.938 kB / 0.553 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.00567, allocations: 109.8 kB / 0.5531 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.005726, allocations: 55.97 kB / 0.5532 GB, free: 3.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.005735, allocations: 4.375 kB / 0.5532 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005842, allocations: 67.94 kB / 0.5532 GB, free: 3.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005851, allocations: 192 / 0.5532 GB, free: 3.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005862, allocations: 11.88 kB / 0.5532 GB, free: 3.309 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.005878, allocations: 4 kB / 0.5532 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.005912, allocations: 11.98 kB / 0.5533 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.006219, allocations: 208.6 kB / 0.5534 GB, free: 3.059 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/0.006251, allocations: 14.58 kB / 0.5535 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.006265, allocations: 12.86 kB / 0.5535 GB, free: 3.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.006299, allocations: 11.94 kB / 0.5535 GB, free: 3.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.006321, allocations: 42.48 kB / 0.5535 GB, free: 2.957 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.006322, allocations: 4 kB / 0.5535 GB, free: 2.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.006437, allocations: 29.7 kB / 0.5536 GB, free: 2.918 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.006462, allocations: 51.41 kB / 0.5536 GB, free: 2.855 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.006519, allocations: 105.8 kB / 0.5537 GB, free: 2.742 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.00653, allocations: 25.7 kB / 0.5537 GB, free: 2.711 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.006562, allocations: 84.09 kB / 0.5538 GB, free: 2.625 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.006568, allocations: 4 kB / 0.5538 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.006592, allocations: 21.84 kB / 0.5538 GB, free: 2.594 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.006659, allocations: 314.8 kB / 0.5541 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.006669, allocations: 4 kB / 0.5541 GB, free: 2.273 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.006685, allocations: 21.66 kB / 0.5542 GB, free: 2.246 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.006713, allocations: 17.7 kB / 0.5542 GB, free: 2.223 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006714, allocations: 0 / 0.5542 GB, free: 2.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.117e-05/0.006765, allocations: 61.47 kB / 0.5542 GB, free: 2.156 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.006775, allocations: 4 kB / 0.5542 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006779, allocations: 64 / 0.5542 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.00679, allocations: 4 kB / 0.5542 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.333e-05/0.006823, allocations: 11.98 kB / 0.5543 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.006827, allocations: 0 / 0.5543 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.006838, allocations: 3.938 kB / 0.5543 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.006847, allocations: 3.984 kB / 0.5543 GB, free: 2.129 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 4.715e-05/0.006894, allocations: 117.8 kB / 0.5544 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.006906, allocations: 3.938 kB / 0.5544 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.006987, allocations: 125.1 kB / 0.5545 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.007025, allocations: 184.3 kB / 0.5547 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/0.007062, allocations: 188.2 kB / 0.5549 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/0.007099, allocations: 180.2 kB / 0.555 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.007218, allocations: 352.9 kB / 0.5554 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.007241, allocations: 112.9 kB / 0.5555 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.007261, allocations: 101 kB / 0.5556 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-05/0.007298, allocations: 184.2 kB / 0.5557 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.007337, allocations: 184.2 kB / 0.5559 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.559e-05/0.007373, allocations: 176.3 kB / 0.5561 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-05/0.007419, allocations: 180.3 kB / 0.5563 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.007504, allocations: 323.5 kB / 0.5566 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.00753, allocations: 108.9 kB / 0.5567 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.007574, allocations: 180.3 kB / 0.5568 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.007664, allocations: 108.9 kB / 0.5569 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.007705, allocations: 184.3 kB / 0.5571 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.007728, allocations: 109.2 kB / 0.5572 GB, free: 14.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.007757, allocations: 79.28 kB / 0.5573 GB, free: 14.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007758, allocations: 0 / 0.5573 GB, free: 14.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.007909, allocations: 19.94 kB / 0.5573 GB, free: 14.82 MB / 490.7 MB 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.0001245/0.008033, allocations: 190.4 kB / 0.5575 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.597e-05/0.008089, allocations: 16 kB / 0.5575 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008091, allocations: 0 / 0.5575 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.008092, allocations: 0 / 0.5575 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.00835, allocations: 461.5 kB / 0.558 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.008553, allocations: 209.8 kB / 0.5582 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.008591, allocations: 59.34 kB / 0.5582 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.00861, allocations: 12.5 kB / 0.5582 GB, free: 13.82 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008611, allocations: 0 / 0.5582 GB, free: 13.82 MB / 490.7 MB Notification: Performance of Templates: time 0.001706/0.01032, allocations: 0.7556 MB / 0.559 GB, free: 13.07 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.80447175912559] Failed to read output from testmodel.py, exit status != 0: 0.014503580518066883 0.022130405000000002 0.014986725000000001 Calling exit ...