Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001439/0.001439, allocations: 93.06 kB / 19.65 MB, free: 280 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.001814/0.001814, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001731/0.001731, allocations: 233.2 kB / 260.2 MB, free: 12.82 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.7688/0.7688, allocations: 138.4 MB / 455.2 MB, free: 29.92 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5551 GB, free: 188 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.738e-05, allocations: 5.547 kB / 0.5551 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003609/0.003636, allocations: 3.458 MB / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 8.46e-05/0.003721, allocations: 51.75 kB / 0.5585 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.003748, allocations: 0 / 0.5585 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.003865, allocations: 0 / 0.5585 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.003949, allocations: 19.84 kB / 0.5585 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.004454, allocations: 219.1 kB / 0.5588 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.004528, allocations: 31.86 kB / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.004559, allocations: 7.984 kB / 0.5588 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.004607, allocations: 23.91 kB / 0.5588 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.004671, allocations: 8 kB / 0.5588 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.004683, allocations: 3.938 kB / 0.5588 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.004915, allocations: 147.5 kB / 0.559 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.004958, allocations: 11.97 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.004978, allocations: 4 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.005188, allocations: 127.6 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005191, allocations: 0 / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005192, allocations: 0 / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005197, allocations: 0 / 0.5591 GB, free: 12.05 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.0003636/0.005561, allocations: 376.5 kB / 0.5595 GB, free: 11.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.005598, allocations: 9.219 kB / 0.5595 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.005644, allocations: 4.891 kB / 0.5595 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.005726, allocations: 120.6 kB / 0.5596 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.005796, allocations: 55.95 kB / 0.5596 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.005811, allocations: 4.375 kB / 0.5596 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.005949, allocations: 76.64 kB / 0.5597 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005957, allocations: 8.125 kB / 0.5597 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005968, allocations: 3.938 kB / 0.5597 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.005995, allocations: 3.984 kB / 0.5597 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.006026, allocations: 7.938 kB / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.006458, allocations: 291.8 kB / 0.56 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.006494, allocations: 27.06 kB / 0.56 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.006509, allocations: 15.62 kB / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.006571, allocations: 36.03 kB / 0.5601 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.006595, allocations: 41.33 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.006596, allocations: 0 / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.006708, allocations: 29.7 kB / 0.5602 GB, free: 10.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.006731, allocations: 51.41 kB / 0.5602 GB, free: 10.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.006809, allocations: 169.9 kB / 0.5604 GB, free: 10.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.00682, allocations: 25.7 kB / 0.5604 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.006868, allocations: 130.9 kB / 0.5605 GB, free: 10.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.006874, allocations: 8.078 kB / 0.5605 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.0069, allocations: 23.36 kB / 0.5606 GB, free: 10.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.007024, allocations: 0.4884 MB / 0.561 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.007036, allocations: 4 kB / 0.561 GB, free: 9.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.007059, allocations: 27.3 kB / 0.5611 GB, free: 9.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.007088, allocations: 23.38 kB / 0.5611 GB, free: 9.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00709, allocations: 0 / 0.5611 GB, free: 9.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.949e-05/0.007149, allocations: 49.58 kB / 0.5611 GB, free: 9.734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.007162, allocations: 12.05 kB / 0.5611 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007166, allocations: 0 / 0.5611 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.007181, allocations: 4 kB / 0.5611 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.935e-05/0.007221, allocations: 4 kB / 0.5611 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007226, allocations: 0 / 0.5611 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.007239, allocations: 3.938 kB / 0.5612 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.007249, allocations: 4 kB / 0.5612 GB, free: 9.707 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.365e-05/0.007313, allocations: 160.5 kB / 0.5613 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.007331, allocations: 11.89 kB / 0.5613 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.007438, allocations: 163.7 kB / 0.5615 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/0.007499, allocations: 276.1 kB / 0.5617 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-05/0.007561, allocations: 268 kB / 0.562 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/0.007624, allocations: 268.1 kB / 0.5623 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.007796, allocations: 499.9 kB / 0.5627 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/0.007834, allocations: 148.8 kB / 0.5629 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.007866, allocations: 144.9 kB / 0.563 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.548e-05/0.007931, allocations: 275.9 kB / 0.5633 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.007994, allocations: 268.1 kB / 0.5635 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/0.008053, allocations: 264.1 kB / 0.5638 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.786e-05/0.00811, allocations: 268 kB / 0.564 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.008238, allocations: 456.2 kB / 0.5645 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.008276, allocations: 153.1 kB / 0.5646 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.008345, allocations: 268.1 kB / 0.5649 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.00845, allocations: 160.8 kB / 0.565 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.008509, allocations: 272.1 kB / 0.5653 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.008542, allocations: 148.8 kB / 0.5654 GB, free: 5.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.008583, allocations: 127.2 kB / 0.5655 GB, free: 5.016 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008583, allocations: 0 / 0.5655 GB, free: 5.016 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.008772, allocations: 39.86 kB / 0.5656 GB, free: 4.977 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.0002227/0.008994, allocations: 274.3 kB / 0.5658 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.693e-05/0.009061, allocations: 15.69 kB / 0.5659 GB, free: 4.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.009064, allocations: 4 kB / 0.5659 GB, free: 4.676 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.009065, allocations: 0 / 0.5659 GB, free: 4.676 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.009381, allocations: 0.7155 MB / 0.5666 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.009774, allocations: 237.6 kB / 0.5668 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.858e-05/0.009802, allocations: 55.36 kB / 0.5668 GB, free: 3.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.133e-05/0.009834, allocations: 14.98 kB / 0.5669 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.00985, allocations: 8.5 kB / 0.5669 GB, free: 3.602 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009851, allocations: 4 kB / 0.5669 GB, free: 3.598 MB / 490.7 MB Notification: Performance of Templates: time 0.00279/0.01264, allocations: 1.175 MB / 0.568 GB, free: 2.48 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.948712179902941]