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.001027/0.001027, allocations: 80.94 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.001349/0.001349, allocations: 177 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.002571/0.002571, allocations: 247.1 kB / 260.5 MB, free: 12.7 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.7419/0.7419, allocations: 138.4 MB / 402.2 MB, free: 0.5039 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.443e-06/1.443e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.37e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004132/0.004146, allocations: 3.462 MB / 465.8 MB, free: 14.6 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 7.618e-05/0.004222, allocations: 63.2 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.004241, allocations: 0 / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.074e-05/0.004332, allocations: 1.875 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.004402, allocations: 23.34 kB / 465.9 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.004887, allocations: 217.6 kB / 466.1 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.004963, allocations: 32.98 kB / 466.1 MB, free: 14.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.004995, allocations: 7.094 kB / 466.1 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.005044, allocations: 16.36 kB / 466.1 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.005108, allocations: 16.47 kB / 466.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.005118, allocations: 1.219 kB / 466.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.005333, allocations: 140 kB / 466.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.005374, allocations: 17.34 kB / 466.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.535e-05/0.005389, allocations: 5.797 kB / 466.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005577, allocations: 131 kB / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005578, allocations: 1.5 kB / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005579, allocations: 0 / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.005582, allocations: 0 / 466.4 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.0002424/0.005824, allocations: 247.2 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.005852, allocations: 9.594 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.005876, allocations: 4.75 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.106e-05/0.005937, allocations: 105.6 kB / 466.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.005978, allocations: 54.94 kB / 466.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.005987, allocations: 3 kB / 466.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.006079, allocations: 76.36 kB / 466.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-06/0.006084, allocations: 3.031 kB / 466.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.006091, allocations: 3.938 kB / 466.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.006108, allocations: 6.062 kB / 466.9 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.006127, allocations: 9.203 kB / 466.9 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.006409, allocations: 199.2 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.399e-05/0.006433, allocations: 19.3 kB / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-06/0.006443, allocations: 5.953 kB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.006496, allocations: 36.31 kB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.006514, allocations: 41.33 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.006516, allocations: 1.406 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.187e-05/0.006588, allocations: 33.02 kB / 467.3 MB, free: 13.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.006609, allocations: 58.06 kB / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.006656, allocations: 106.4 kB / 467.4 MB, free: 13.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.006672, allocations: 25.7 kB / 467.5 MB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.006704, allocations: 96.67 kB / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/0.006708, allocations: 2.312 kB / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.006732, allocations: 22.52 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.221e-05/0.006794, allocations: 313.8 kB / 467.9 MB, free: 12.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.006799, allocations: 1.781 kB / 467.9 MB, free: 12.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.00682, allocations: 21.66 kB / 467.9 MB, free: 12.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.00684, allocations: 19.12 kB / 467.9 MB, free: 12.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006842, allocations: 0 / 467.9 MB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.767e-05/0.006879, allocations: 43.7 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.00689, allocations: 12.59 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.006893, allocations: 0.5312 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.006902, allocations: 2.219 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.566e-05/0.006927, allocations: 6.203 kB / 468 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006931, allocations: 4.703 kB / 468 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.006942, allocations: 3.953 kB / 468 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006948, allocations: 0.5625 kB / 468 MB, free: 12.77 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 4.407e-05/0.006992, allocations: 117.2 kB / 468.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.007004, allocations: 5.234 kB / 468.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.007076, allocations: 124.4 kB / 468.2 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/0.007115, allocations: 180.8 kB / 468.4 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-05/0.007153, allocations: 186.7 kB / 468.6 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.007189, allocations: 182.5 kB / 468.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.007303, allocations: 319.6 kB / 469.1 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.007323, allocations: 106.1 kB / 469.2 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.007344, allocations: 109.6 kB / 469.3 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-05/0.007379, allocations: 180.2 kB / 469.5 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.007415, allocations: 177.5 kB / 469.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.498e-05/0.00745, allocations: 184.2 kB / 469.8 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.361e-05/0.007484, allocations: 182.5 kB / 470 MB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.905e-05/0.007563, allocations: 308.9 kB / 470.3 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.007591, allocations: 105 kB / 470.4 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.007634, allocations: 176.3 kB / 470.6 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.00771, allocations: 117.9 kB / 470.7 MB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.007749, allocations: 184.2 kB / 470.9 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.00777, allocations: 108.9 kB / 471 MB, free: 9.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.435e-05/0.007784, allocations: 17.59 kB / 471 MB, free: 9.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007784, allocations: 0 / 471 MB, free: 9.613 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.007941, allocations: 32.53 kB / 471 MB, free: 9.582 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.0001745/0.008116, allocations: 213.2 kB / 471.2 MB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 3.709e-05/0.008153, allocations: 12.84 kB / 471.3 MB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.008157, allocations: 5.031 kB / 471.3 MB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.008158, allocations: 0 / 471.3 MB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.008349, allocations: 468.6 kB / 471.7 MB, free: 8.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.00863, allocations: 192 kB / 471.9 MB, free: 8.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.685e-05/0.008656, allocations: 55.34 kB / 472 MB, free: 8.605 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.193e-05/0.008678, allocations: 5.625 kB / 472 MB, free: 8.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.008733, allocations: 67.33 kB / 472 MB, free: 8.539 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.008734, allocations: 1.562 kB / 472 MB, free: 8.539 MB / 426.7 MB Notification: Performance of Templates: time 0.002449/0.01118, allocations: 1.367 MB / 473.4 MB, free: 7.398 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630832833237946]