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.001268/0.001268, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001726/0.001726, allocations: 181 kB / 23.36 MB, free: 1.133 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.071/1.071, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001634/0.001634, allocations: 245.6 kB / 260.5 MB, free: 12.69 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.7511/0.7511, allocations: 138.4 MB / 402.2 MB, free: 0.582 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.643e-06/1.643e-06, allocations: 0.7656 kB / 462.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.29e-05, allocations: 3.078 kB / 462.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005229/0.005252, allocations: 3.501 MB / 465.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.005361, allocations: 55.84 kB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.005386, allocations: 3.938 kB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.005499, allocations: 11.98 kB / 465.9 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.005579, allocations: 9.812 kB / 465.9 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.006174, allocations: 225.5 kB / 466.2 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.006263, allocations: 29.03 kB / 466.2 MB, free: 14.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.006301, allocations: 4.062 kB / 466.2 MB, free: 14.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.006365, allocations: 26.47 kB / 466.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.006438, allocations: 8.531 kB / 466.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.006451, allocations: 2.5 kB / 466.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.006782, allocations: 149.7 kB / 466.4 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.006831, allocations: 12.52 kB / 466.4 MB, free: 14.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.00685, allocations: 7.047 kB / 466.4 MB, free: 14.35 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.007078, allocations: 126 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007081, allocations: 0.6562 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007082, allocations: 5.031 kB / 466.5 MB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.007087, allocations: 0.625 kB / 466.5 MB, free: 14.31 MB / 426.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.0002946/0.007381, allocations: 247.1 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.007414, allocations: 10.38 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.007451, allocations: 2.938 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.898e-05/0.00753, allocations: 106.5 kB / 466.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.007581, allocations: 53.5 kB / 466.9 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.00759, allocations: 5.578 kB / 466.9 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.007704, allocations: 76.03 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.007712, allocations: 1.562 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.007724, allocations: 5.203 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.007745, allocations: 2.422 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.007767, allocations: 8.859 kB / 467 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.00812, allocations: 205.4 kB / 467.2 MB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.877e-05/0.008148, allocations: 21.2 kB / 467.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.043e-05/0.008159, allocations: 7.828 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.008224, allocations: 31.86 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.00825, allocations: 41.66 kB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.405e-06/0.008252, allocations: 0.7969 kB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.677e-05/0.008349, allocations: 38.39 kB / 467.4 MB, free: 13.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.008377, allocations: 51.41 kB / 467.4 MB, free: 13.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.008442, allocations: 110.2 kB / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.008451, allocations: 26.45 kB / 467.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.00849, allocations: 93.53 kB / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.008494, allocations: 3.656 kB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.008519, allocations: 21.33 kB / 467.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.0086, allocations: 319 kB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.008608, allocations: 0 / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.008623, allocations: 16.62 kB / 468 MB, free: 12.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.008653, allocations: 29.25 kB / 468 MB, free: 12.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008655, allocations: 0 / 468 MB, free: 12.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.799e-05/0.008703, allocations: 38.39 kB / 468.1 MB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008715, allocations: 8.719 kB / 468.1 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.008722, allocations: 4.75 kB / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.008735, allocations: 1.344 kB / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.008769, allocations: 7.984 kB / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.008771, allocations: 0 / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.008786, allocations: 8.609 kB / 468.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.008793, allocations: 0 / 468.1 MB, free: 12.74 MB / 426.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.172e-05/0.008845, allocations: 113.5 kB / 468.2 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.008864, allocations: 8.438 kB / 468.2 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-05/0.008951, allocations: 122.5 kB / 468.3 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-05/0.008992, allocations: 181.5 kB / 468.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.114e-05/0.009033, allocations: 180.2 kB / 468.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/0.009075, allocations: 184.2 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.009208, allocations: 328.1 kB / 469.2 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/0.009237, allocations: 104.9 kB / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.009265, allocations: 104.9 kB / 469.4 MB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-05/0.009323, allocations: 180.3 kB / 469.6 MB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.009529, allocations: 186 kB / 469.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.449e-05/0.009583, allocations: 180.2 kB / 469.9 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.459e-05/0.009638, allocations: 184.2 kB / 470.1 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.009759, allocations: 307.8 kB / 470.4 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.009787, allocations: 105 kB / 470.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.009836, allocations: 177.3 kB / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.00993, allocations: 118.1 kB / 470.8 MB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.009974, allocations: 176.3 kB / 471 MB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.01, allocations: 106 kB / 471.1 MB, free: 9.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.044e-05/0.01002, allocations: 16.84 kB / 471.1 MB, free: 9.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0.625 kB / 471.1 MB, free: 9.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.01021, allocations: 39.86 kB / 471.1 MB, free: 9.547 MB / 426.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.0002229/0.01044, allocations: 212.7 kB / 471.3 MB, free: 9.336 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.417e-05/0.01049, allocations: 12.86 kB / 471.4 MB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.01049, allocations: 1.25 kB / 471.4 MB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.01049, allocations: 0 / 471.4 MB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01073, allocations: 477.1 kB / 471.8 MB, free: 8.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.01108, allocations: 186.8 kB / 472 MB, free: 8.645 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.01111, allocations: 55.36 kB / 472.1 MB, free: 8.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.01114, allocations: 7.391 kB / 472.1 MB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.01122, allocations: 67.33 kB / 472.1 MB, free: 8.504 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01122, allocations: 0 / 472.1 MB, free: 8.504 MB / 426.7 MB Notification: Performance of Templates: time 0.003324/0.01454, allocations: 1.364 MB / 473.5 MB, free: 7.371 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.613949288148433]