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.001175/0.001175, 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.00114/0.00114, allocations: 173 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.9723/0.9723, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.001542/0.001542, allocations: 229.8 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.812/0.812, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.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.372e-06/1.372e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.343e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00377/0.003794, allocations: 3.446 MB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 8.594e-05/0.00388, allocations: 51.81 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.003908, allocations: 0 / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.004025, allocations: 7.922 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.004113, allocations: 19.86 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.004721, allocations: 219 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.004814, allocations: 35.84 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.00485, allocations: 4 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.004902, allocations: 11.98 kB / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.004979, allocations: 19.91 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.004991, allocations: 0 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.005278, allocations: 139.6 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.005328, allocations: 11.92 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.00535, allocations: 4 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005584, allocations: 135.6 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005586, allocations: 4 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005587, allocations: 0 / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005592, allocations: 0 / 0.5591 GB, free: 12.41 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.0003987/0.005991, allocations: 376.5 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.006028, allocations: 8.031 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.006074, allocations: 4.938 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.006171, allocations: 108.6 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.006239, allocations: 55.97 kB / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.006249, allocations: 384 / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.006392, allocations: 84.59 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.0064, allocations: 192 / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006412, allocations: 3.938 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.006442, allocations: 0 / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.006471, allocations: 15.98 kB / 0.5597 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.006936, allocations: 291.7 kB / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.006983, allocations: 31.03 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.007003, allocations: 11.62 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/0.007085, allocations: 32.05 kB / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.007116, allocations: 41.38 kB / 0.5601 GB, free: 11.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.007118, allocations: 4 kB / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001787/0.007297, allocations: 33.66 kB / 0.5602 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.007339, allocations: 63.28 kB / 0.5602 GB, free: 11.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.007454, allocations: 165.9 kB / 0.5604 GB, free: 10.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.007471, allocations: 25.7 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.007537, allocations: 138.8 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-06/0.007544, allocations: 0 / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.007579, allocations: 19.38 kB / 0.5606 GB, free: 10.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.007724, allocations: 0.4884 MB / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.007742, allocations: 8 kB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.007768, allocations: 19.5 kB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.007806, allocations: 27.38 kB / 0.5611 GB, free: 10.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007809, allocations: 0 / 0.5611 GB, free: 10.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.756e-05/0.007886, allocations: 53.52 kB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.007904, allocations: 8 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.00791, allocations: 0 / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.007929, allocations: 0 / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.007988, allocations: 7.984 kB / 0.5612 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.007997, allocations: 8.047 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.008016, allocations: 7.938 kB / 0.5612 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.008028, allocations: 0 / 0.5612 GB, free: 10.06 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 9.363e-05/0.008122, allocations: 164.5 kB / 0.5613 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.008143, allocations: 3.938 kB / 0.5613 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.008293, allocations: 167.8 kB / 0.5615 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-05/0.008383, allocations: 268.1 kB / 0.5618 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/0.008458, allocations: 272 kB / 0.562 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.671e-05/0.008534, allocations: 264.1 kB / 0.5623 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.008724, allocations: 0.492 MB / 0.5627 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/0.008758, allocations: 148.9 kB / 0.5629 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.008797, allocations: 148.8 kB / 0.563 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-05/0.00886, allocations: 272 kB / 0.5633 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.008928, allocations: 264.1 kB / 0.5635 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-05/0.008999, allocations: 272 kB / 0.5638 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.941e-05/0.009068, allocations: 268.1 kB / 0.5641 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.009236, allocations: 444 kB / 0.5645 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.009299, allocations: 160.8 kB / 0.5646 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.009381, allocations: 272 kB / 0.5649 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.009483, allocations: 148.9 kB / 0.565 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.009546, allocations: 280 kB / 0.5653 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.009582, allocations: 148.9 kB / 0.5654 GB, free: 5.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.009626, allocations: 131.2 kB / 0.5656 GB, free: 5.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009626, allocations: 0 / 0.5656 GB, free: 5.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.009839, allocations: 35.88 kB / 0.5656 GB, free: 5.336 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.0002387/0.01008, allocations: 274.2 kB / 0.5659 GB, free: 5.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.01016, allocations: 23.62 kB / 0.5659 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01016, allocations: 0 / 0.5659 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.01016, allocations: 0 / 0.5659 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.01052, allocations: 0.7062 MB / 0.5666 GB, free: 4.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.01106, allocations: 241.7 kB / 0.5668 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01111, allocations: 55.36 kB / 0.5669 GB, free: 3.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.01115, allocations: 7.938 kB / 0.5669 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.01118, allocations: 12.5 kB / 0.5669 GB, free: 3.961 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01118, allocations: 0 / 0.5669 GB, free: 3.961 MB / 490.7 MB Notification: Performance of Templates: time 0.0036/0.01478, allocations: 1.451 MB / 0.5683 GB, free: 2.562 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.716445761267096]