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.001541/0.001541, allocations: 78.8 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001859/0.001859, allocations: 164.8 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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.8977/0.8977, allocations: 110.3 MB / 370.1 MB, free: 15.68 MB / 350.1 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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 66.47 kB / 0.5483 GB, free: 13.33 MB / 0.5137 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1579, allocations: 87.87 MB / 0.6341 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00638/0.1643, allocations: 3.909 MB / 0.6379 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.1645, allocations: 139.5 kB / 0.638 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.1645, allocations: 0 / 0.638 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.1646, allocations: 11.86 kB / 0.6381 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.1647, allocations: 15.92 kB / 0.6381 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1651, allocations: 79.73 kB / 0.6381 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.1652, allocations: 31.86 kB / 0.6382 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.1652, allocations: 8 kB / 0.6382 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.1652, allocations: 19.97 kB / 0.6382 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.1653, allocations: 11.94 kB / 0.6382 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1653, allocations: 0 / 0.6382 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1655, allocations: 55.73 kB / 0.6383 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.1656, allocations: 8 kB / 0.6383 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1656, allocations: 11.97 kB / 0.6383 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1658, allocations: 59.81 kB / 0.6383 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1658, allocations: 0 / 0.6383 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1658, allocations: 0 / 0.6383 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1658, allocations: 4 kB / 0.6384 GB, free: 0.9219 MB / 0.5919 GB 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.000385/0.1661, allocations: 258.3 kB / 0.6386 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1662, allocations: 12.03 kB / 0.6386 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1662, allocations: 4.891 kB / 0.6386 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1664, allocations: 114.5 kB / 0.6387 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.1664, allocations: 51.97 kB / 0.6388 GB, free: 436 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1664, allocations: 384 / 0.6388 GB, free: 436 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1666, allocations: 79.27 kB / 0.6388 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1666, allocations: 0 / 0.6388 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1666, allocations: 0 / 0.6388 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.1666, allocations: 4 kB / 0.6389 GB, free: 340 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.1667, allocations: 19.98 kB / 0.6389 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1671, allocations: 204.5 kB / 0.6391 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.83e-05/0.1671, allocations: 18.52 kB / 0.6391 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.1672, allocations: 8.891 kB / 0.6391 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.1672, allocations: 8.062 kB / 0.6391 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1673, allocations: 30.56 kB / 0.6391 GB, free: 16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1673, allocations: 0 / 0.6391 GB, free: 16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.1674, allocations: 37.7 kB / 0.6392 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1674, allocations: 59.52 kB / 0.6392 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.1675, allocations: 101.8 kB / 0.6393 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1676, allocations: 25.7 kB / 0.6393 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1676, allocations: 88.09 kB / 0.6394 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.1676, allocations: 11.92 kB / 0.6394 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1677, allocations: 17.66 kB / 0.6395 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1678, allocations: 322.8 kB / 0.6398 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.1678, allocations: 4 kB / 0.6398 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.1678, allocations: 21.64 kB / 0.6398 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.1679, allocations: 25.72 kB / 0.6398 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1679, allocations: 0 / 0.6398 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.731e-05/0.168, allocations: 49.91 kB / 0.6399 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.168, allocations: 8 kB / 0.6399 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.168, allocations: 0 / 0.6399 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.168, allocations: 0 / 0.6399 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.085e-05/0.168, allocations: 4 kB / 0.6399 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1681, allocations: 4 kB / 0.6399 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.1681, allocations: 0 / 0.6399 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1681, allocations: 3.984 kB / 0.6399 GB, free: 15.16 MB / 0.6075 GB 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 8.512e-05/0.1682, allocations: 125.8 kB / 0.64 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1682, allocations: 3.953 kB / 0.64 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1683, allocations: 128.9 kB / 0.6401 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/0.1684, allocations: 176.3 kB / 0.6403 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.99e-05/0.1685, allocations: 188.2 kB / 0.6405 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.968e-05/0.1686, allocations: 176.3 kB / 0.6406 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.1688, allocations: 360.8 kB / 0.641 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.637e-05/0.1689, allocations: 105 kB / 0.6411 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.1689, allocations: 105 kB / 0.6412 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/0.169, allocations: 184.2 kB / 0.6414 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.1691, allocations: 180.3 kB / 0.6415 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.262e-05/0.1692, allocations: 188.2 kB / 0.6417 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.905e-05/0.1692, allocations: 180.2 kB / 0.6419 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1694, allocations: 311.7 kB / 0.6422 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1694, allocations: 101 kB / 0.6423 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.1695, allocations: 184.2 kB / 0.6425 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1697, allocations: 105 kB / 0.6426 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.1697, allocations: 184.3 kB / 0.6427 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.1698, allocations: 108.9 kB / 0.6428 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.1698, allocations: 91.27 kB / 0.6429 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1698, allocations: 4 kB / 0.6429 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002667/0.1701, allocations: 12 kB / 0.6429 GB, free: 11.84 MB / 0.6075 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.0001849/0.1703, allocations: 190.5 kB / 0.6431 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.1704, allocations: 11.98 kB / 0.6431 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1704, allocations: 4 kB / 0.6431 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1704, allocations: 3.938 kB / 0.6431 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.1708, allocations: 459.6 kB / 0.6436 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1711, allocations: 190.2 kB / 0.6438 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.1712, allocations: 55.36 kB / 0.6438 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.1712, allocations: 11.92 kB / 0.6438 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1712, allocations: 8.5 kB / 0.6438 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.1712, allocations: 0 / 0.6438 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Templates: time 0.003032/0.1742, allocations: 0.6692 MB / 0.6445 GB, free: 10.21 MB / 0.6075 GB " [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 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.292437601019628] Failed to read output from testmodel.py, exit status != 0: 0.18271578708663583 0.197326734 0.028214008000000002 Calling exit ...