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.0009655/0.0009655, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009654/0.0009654, allocations: 173 kB / 23.03 MB, free: 1.539 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.9183/0.9183, allocations: 177.1 MB / 203.4 MB, free: 5.582 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.001968/0.001968, allocations: 234 kB / 260.2 MB, free: 12.84 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.7381/0.7381, allocations: 138.4 MB / 455.2 MB, free: 1.531 MB / 362.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 3.306e-06/3.306e-06, allocations: 7.938 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.26e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00498/0.005003, allocations: 4.17 MB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.005176, allocations: 159.5 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.005202, allocations: 0 / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.005312, allocations: 3.938 kB / 0.5593 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.005393, allocations: 15.91 kB / 0.5593 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.005718, allocations: 91.62 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.005806, allocations: 35.86 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.005841, allocations: 0 / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.005896, allocations: 23.97 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.005975, allocations: 11.92 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.005989, allocations: 4 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.006157, allocations: 55.73 kB / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.0062, allocations: 11.94 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.006221, allocations: 11.97 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.006351, allocations: 55.94 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006353, allocations: 0 / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006354, allocations: 0 / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.006358, allocations: 0 / 0.5596 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.0003462/0.006704, allocations: 372.5 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006741, allocations: 8.75 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.006783, allocations: 4.938 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.006872, allocations: 108.6 kB / 0.5601 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.006936, allocations: 55.91 kB / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.006947, allocations: 8.312 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.007069, allocations: 76.66 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.007078, allocations: 4.188 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.007088, allocations: 3.938 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.007112, allocations: 0 / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.00714, allocations: 11.98 kB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.007491, allocations: 255.8 kB / 0.5605 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.00753, allocations: 27 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.007545, allocations: 15.69 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.007585, allocations: 4 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.007609, allocations: 45.38 kB / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.007609, allocations: 0 / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.007738, allocations: 33.66 kB / 0.5606 GB, free: 10.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.007769, allocations: 59.34 kB / 0.5607 GB, free: 10.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.00786, allocations: 161.9 kB / 0.5608 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.007873, allocations: 25.7 kB / 0.5609 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.007925, allocations: 134.8 kB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.007932, allocations: 4 kB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.007962, allocations: 15.38 kB / 0.561 GB, free: 10.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.008089, allocations: 0.4923 MB / 0.5615 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.0081, allocations: 4.125 kB / 0.5615 GB, free: 9.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.008122, allocations: 19.38 kB / 0.5615 GB, free: 9.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.008158, allocations: 31.38 kB / 0.5615 GB, free: 9.688 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00816, allocations: 0 / 0.5615 GB, free: 9.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.753e-05/0.008227, allocations: 53.52 kB / 0.5616 GB, free: 9.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.008239, allocations: 4 kB / 0.5616 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008243, allocations: 0 / 0.5616 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008257, allocations: 4 kB / 0.5616 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.836e-05/0.008295, allocations: 8.062 kB / 0.5616 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.008301, allocations: 3.984 kB / 0.5616 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.008319, allocations: 3.938 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.00833, allocations: 8 kB / 0.5616 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.801e-05/0.008398, allocations: 156.5 kB / 0.5618 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.008421, allocations: 7.938 kB / 0.5618 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.008531, allocations: 163.7 kB / 0.5619 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-05/0.008596, allocations: 268.1 kB / 0.5622 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.599e-05/0.008662, allocations: 272 kB / 0.5624 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-05/0.008734, allocations: 272.4 kB / 0.5627 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.008932, allocations: 0.4959 MB / 0.5632 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.008966, allocations: 144.9 kB / 0.5633 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.009002, allocations: 148.8 kB / 0.5635 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/0.00907, allocations: 276 kB / 0.5637 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/0.009133, allocations: 264.1 kB / 0.564 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-05/0.009199, allocations: 272 kB / 0.5642 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-05/0.009265, allocations: 268.1 kB / 0.5645 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.009403, allocations: 444 kB / 0.5649 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.00945, allocations: 160.8 kB / 0.5651 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.009528, allocations: 272 kB / 0.5653 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.009647, allocations: 156.9 kB / 0.5655 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.00972, allocations: 268 kB / 0.5657 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.009757, allocations: 144.9 kB / 0.5659 GB, free: 5.035 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.009805, allocations: 131.2 kB / 0.566 GB, free: 4.906 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009805, allocations: 4 kB / 0.566 GB, free: 4.902 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01004, allocations: 15.94 kB / 0.566 GB, free: 4.887 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.0001493/0.01019, allocations: 234.4 kB / 0.5662 GB, free: 4.648 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.01026, allocations: 23.61 kB / 0.5663 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01027, allocations: 0 / 0.5663 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.01027, allocations: 4.125 kB / 0.5663 GB, free: 4.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.01066, allocations: 0.7088 MB / 0.567 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.01107, allocations: 233.6 kB / 0.5672 GB, free: 3.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.0111, allocations: 59.2 kB / 0.5672 GB, free: 3.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.01113, allocations: 4 kB / 0.5672 GB, free: 3.566 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.01115, allocations: 16.5 kB / 0.5673 GB, free: 3.551 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01115, allocations: 0 / 0.5673 GB, free: 3.551 MB / 490.7 MB Notification: Performance of Templates: time 0.002585/0.01374, allocations: 0.7285 MB / 0.568 GB, free: 2.832 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.45859993994236]