Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001015/0.001015, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001126/0.001126, allocations: 177.3 kB / 23.49 MB, free: 1.059 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.9921/0.9921, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001667/0.001667, allocations: 246.3 kB / 260.5 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8013/0.8013, allocations: 138.4 MB / 455.4 MB, free: 30.06 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.555 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.903e-05, allocations: 2.312 kB / 0.555 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004545/0.004564, allocations: 4.17 MB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001615/0.004726, allocations: 159.4 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.004764, allocations: 0 / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.004894, allocations: 3.938 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.356e-05/0.004988, allocations: 19.91 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.005333, allocations: 83.62 kB / 0.5593 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.005431, allocations: 39.86 kB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.005473, allocations: 7.969 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-05/0.005526, allocations: 19.98 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.005592, allocations: 7.938 kB / 0.5594 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005608, allocations: 7.984 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.005774, allocations: 47.81 kB / 0.5594 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.005826, allocations: 11.98 kB / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.005851, allocations: 11.92 kB / 0.5595 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.005989, allocations: 59.88 kB / 0.5595 GB, free: 11.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.005994, allocations: 3.984 kB / 0.5595 GB, free: 11.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.005995, allocations: 0 / 0.5595 GB, free: 11.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006001, allocations: 0 / 0.5595 GB, free: 11.87 MB / 490.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.0003983/0.006399, allocations: 360.6 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.00644, allocations: 9.938 kB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.006491, allocations: 8.828 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.006583, allocations: 112.6 kB / 0.56 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.006648, allocations: 55.97 kB / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.00666, allocations: 4.375 kB / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.006788, allocations: 76.66 kB / 0.5601 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.006795, allocations: 4.188 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.006805, allocations: 7.875 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.00683, allocations: 0 / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.006858, allocations: 7.984 kB / 0.5601 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.007218, allocations: 259.8 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/0.007256, allocations: 27.12 kB / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.007271, allocations: 15.62 kB / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.007313, allocations: 7.984 kB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.007337, allocations: 41.39 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.007338, allocations: 0 / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.007471, allocations: 33.64 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.007502, allocations: 51.41 kB / 0.5606 GB, free: 10.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.007586, allocations: 169.9 kB / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.007599, allocations: 25.7 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.00767, allocations: 134.9 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-06/0.007676, allocations: 7.953 kB / 0.5609 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.007708, allocations: 23.36 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.007822, allocations: 492.1 kB / 0.5614 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.007834, allocations: 8.125 kB / 0.5614 GB, free: 9.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.007854, allocations: 19.39 kB / 0.5614 GB, free: 9.723 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.007889, allocations: 35.31 kB / 0.5614 GB, free: 9.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007892, allocations: 0 / 0.5614 GB, free: 9.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.95e-05/0.007951, allocations: 45.92 kB / 0.5615 GB, free: 9.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.007965, allocations: 4 kB / 0.5615 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.007969, allocations: 0 / 0.5615 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007983, allocations: 7.984 kB / 0.5615 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.008032, allocations: 12 kB / 0.5615 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.008038, allocations: 0 / 0.5615 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.008052, allocations: 3.984 kB / 0.5615 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.008061, allocations: 4 kB / 0.5615 GB, free: 9.598 MB / 490.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 6.984e-05/0.008131, allocations: 160.5 kB / 0.5617 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.008149, allocations: 11.89 kB / 0.5617 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.008269, allocations: 166.9 kB / 0.5618 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-05/0.008337, allocations: 268 kB / 0.5621 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-05/0.008407, allocations: 268.1 kB / 0.5623 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.00848, allocations: 272 kB / 0.5626 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.008664, allocations: 499.9 kB / 0.5631 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/0.008703, allocations: 156.8 kB / 0.5632 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.008738, allocations: 148.8 kB / 0.5634 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-05/0.008808, allocations: 276 kB / 0.5636 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.008873, allocations: 268 kB / 0.5639 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-05/0.008938, allocations: 268.1 kB / 0.5641 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.939e-05/0.009007, allocations: 268.1 kB / 0.5644 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.009148, allocations: 448 kB / 0.5648 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.00919, allocations: 156.8 kB / 0.565 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.009262, allocations: 264.1 kB / 0.5652 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.009366, allocations: 152.9 kB / 0.5654 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.009434, allocations: 276 kB / 0.5656 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.009465, allocations: 144.9 kB / 0.5658 GB, free: 5.031 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.009508, allocations: 123.2 kB / 0.5659 GB, free: 4.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009508, allocations: 4 kB / 0.5659 GB, free: 4.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.009686, allocations: 15.94 kB / 0.5659 GB, free: 4.891 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.000165/0.009851, allocations: 230.4 kB / 0.5661 GB, free: 4.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.009926, allocations: 23.62 kB / 0.5661 GB, free: 4.629 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009928, allocations: 0 / 0.5661 GB, free: 4.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.009929, allocations: 4.125 kB / 0.5662 GB, free: 4.625 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.01028, allocations: 0.7101 MB / 0.5668 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.01074, allocations: 237.5 kB / 0.5671 GB, free: 3.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.01078, allocations: 51.36 kB / 0.5671 GB, free: 3.578 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.355e-05/0.01081, allocations: 4 kB / 0.5671 GB, free: 3.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.01083, allocations: 16.5 kB / 0.5671 GB, free: 3.559 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01083, allocations: 0 / 0.5671 GB, free: 3.559 MB / 490.7 MB Notification: Performance of Templates: time 0.002559/0.01339, allocations: 0.6862 MB / 0.5678 GB, free: 2.883 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7663435051217675]