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.001026/0.001026, allocations: 93.06 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.001015/0.001015, allocations: 169 kB / 23.02 MB, free: 1.551 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.9786/0.9786, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.001622/0.001622, allocations: 238 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.7488/0.7488, 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 1.183e-06/1.183e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.45e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003686/0.003701, allocations: 4.17 MB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001319/0.003833, allocations: 163.3 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.003854, allocations: 0 / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.149e-05/0.003945, allocations: 8 kB / 0.5593 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.004014, allocations: 15.91 kB / 0.5593 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.004282, allocations: 83.69 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.004346, allocations: 31.86 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.004378, allocations: 11.97 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.00442, allocations: 19.86 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.004477, allocations: 12 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.004488, allocations: 4 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.004627, allocations: 55.8 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.004665, allocations: 7.984 kB / 0.5595 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.004683, allocations: 7.984 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.004793, allocations: 67.8 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004794, allocations: 3.938 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004795, allocations: 0 / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.004798, allocations: 0 / 0.5596 GB, free: 11.86 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.0002997/0.005097, allocations: 360.6 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.005129, allocations: 8.75 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.005171, allocations: 8.938 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.481e-05/0.005246, allocations: 116.6 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.0053, allocations: 51.97 kB / 0.5601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.005312, allocations: 4.359 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.005421, allocations: 80.59 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.005428, allocations: 192 / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.005437, allocations: 3.938 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.005459, allocations: 7.984 kB / 0.5602 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.00548, allocations: 4 kB / 0.5602 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.005798, allocations: 263.8 kB / 0.5605 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.042e-05/0.005828, allocations: 27.06 kB / 0.5605 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.005843, allocations: 15.56 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.005883, allocations: 12.05 kB / 0.5605 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.005903, allocations: 33.39 kB / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.005904, allocations: 0 / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.006014, allocations: 37.66 kB / 0.5606 GB, free: 10.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.006036, allocations: 51.41 kB / 0.5607 GB, free: 10.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.006105, allocations: 161.9 kB / 0.5608 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.006114, allocations: 29.83 kB / 0.5608 GB, free: 10.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.006156, allocations: 142.8 kB / 0.561 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.00616, allocations: 0 / 0.561 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.006184, allocations: 23.36 kB / 0.561 GB, free: 10.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.006285, allocations: 496.1 kB / 0.5615 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-06/0.006294, allocations: 7.938 kB / 0.5615 GB, free: 9.742 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.006312, allocations: 19.38 kB / 0.5615 GB, free: 9.715 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.006336, allocations: 23.36 kB / 0.5615 GB, free: 9.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006338, allocations: 0 / 0.5615 GB, free: 9.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.35e-05/0.006391, allocations: 61.53 kB / 0.5616 GB, free: 9.617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.006402, allocations: 6.812 kB / 0.5616 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006406, allocations: 3.938 kB / 0.5616 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.006422, allocations: 3.984 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.417e-05/0.006456, allocations: 4 kB / 0.5616 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.00646, allocations: 4 kB / 0.5616 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.006471, allocations: 0 / 0.5616 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006477, allocations: 0 / 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 5.609e-05/0.006533, allocations: 164.5 kB / 0.5618 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.006549, allocations: 3.938 kB / 0.5618 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.006641, allocations: 171.7 kB / 0.5619 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.412e-05/0.006695, allocations: 268.1 kB / 0.5622 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.584e-05/0.006751, allocations: 272 kB / 0.5624 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.006804, allocations: 264.2 kB / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.006963, allocations: 0.4921 MB / 0.5632 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.006995, allocations: 152.8 kB / 0.5633 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.007025, allocations: 144.9 kB / 0.5635 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.338e-05/0.007078, allocations: 275.9 kB / 0.5637 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.007136, allocations: 268.1 kB / 0.564 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.544e-05/0.007191, allocations: 268 kB / 0.5642 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-05/0.007247, allocations: 268.1 kB / 0.5645 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.007362, allocations: 452.2 kB / 0.5649 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.007397, allocations: 156.8 kB / 0.5651 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.00746, allocations: 272 kB / 0.5653 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.007554, allocations: 144.9 kB / 0.5655 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.007615, allocations: 280 kB / 0.5657 GB, free: 5.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.007648, allocations: 152.8 kB / 0.5659 GB, free: 5.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.007685, allocations: 123.2 kB / 0.566 GB, free: 4.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007685, allocations: 0 / 0.566 GB, free: 4.898 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.007881, allocations: 15.94 kB / 0.566 GB, free: 4.883 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.000167/0.008048, allocations: 238.4 kB / 0.5662 GB, free: 4.641 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.008122, allocations: 15.69 kB / 0.5663 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.008125, allocations: 4 kB / 0.5663 GB, free: 4.617 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.008128, allocations: 3.938 kB / 0.5663 GB, free: 4.613 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.008432, allocations: 0.7101 MB / 0.567 GB, free: 3.898 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.008827, allocations: 233.7 kB / 0.5672 GB, free: 3.641 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.008863, allocations: 63.22 kB / 0.5672 GB, free: 3.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.008896, allocations: 7.938 kB / 0.5672 GB, free: 3.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.008915, allocations: 8.5 kB / 0.5673 GB, free: 3.543 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008916, allocations: 0 / 0.5673 GB, free: 3.543 MB / 490.7 MB Notification: Performance of Templates: time 0.002172/0.01109, allocations: 0.67 MB / 0.5679 GB, free: 2.879 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.834757430013269]