Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 108.5 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 184.4 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7378/0.7378, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3808, allocations: 77.93 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004422/0.3853, allocations: 3.267 MB / 0.5704 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.863e-05/0.3854, allocations: 52.86 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.3854, allocations: 1.094 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.559e-05/0.3855, allocations: 1.453 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.3856, allocations: 17.09 kB / 0.5705 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.3861, allocations: 180.6 kB / 0.5707 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.3862, allocations: 37.59 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.3862, allocations: 3.234 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.3863, allocations: 19.89 kB / 0.5707 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.3863, allocations: 12.59 kB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3864, allocations: 1.031 kB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.3867, allocations: 171.1 kB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3868, allocations: 13.08 kB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.3868, allocations: 10.64 kB / 0.5709 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.3871, allocations: 135.5 kB / 0.571 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3871, allocations: 1.062 kB / 0.571 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3871, allocations: 3.938 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3871, allocations: 1.609 kB / 0.5711 GB, free: 30.04 MB / 446.1 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.0003885/0.3875, allocations: 350 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3875, allocations: 9.844 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3876, allocations: 3.312 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.164e-05/0.3877, allocations: 167.3 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.3877, allocations: 29.27 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.3878, allocations: 2.688 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3879, allocations: 51.09 kB / 0.5716 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3879, allocations: 0 / 0.5716 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3879, allocations: 2.797 kB / 0.5716 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3879, allocations: 5.156 kB / 0.5716 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.388, allocations: 12.84 kB / 0.5717 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.3885, allocations: 0.5866 MB / 0.5722 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.367e-05/0.3885, allocations: 15.83 kB / 0.5722 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.3886, allocations: 8.281 kB / 0.5723 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.3887, allocations: 344 kB / 0.5726 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3888, allocations: 37.03 kB / 0.5726 GB, free: 28.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.3888, allocations: 0 / 0.5726 GB, free: 28.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.3889, allocations: 34.55 kB / 0.5726 GB, free: 28.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.389, allocations: 52.59 kB / 0.5727 GB, free: 28.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.389, allocations: 107 kB / 0.5728 GB, free: 28.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.389, allocations: 27.62 kB / 0.5728 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.3891, allocations: 86.47 kB / 0.5729 GB, free: 27.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.3891, allocations: 8.594 kB / 0.5729 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.3891, allocations: 19.44 kB / 0.5729 GB, free: 27.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.3892, allocations: 319 kB / 0.5732 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.3892, allocations: 2.125 kB / 0.5732 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.3892, allocations: 24.17 kB / 0.5733 GB, free: 27.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.3892, allocations: 18.91 kB / 0.5733 GB, free: 27.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3893, allocations: 0.9375 kB / 0.5733 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.004e-05/0.3893, allocations: 49.72 kB / 0.5733 GB, free: 27.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3894, allocations: 6.188 kB / 0.5733 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3894, allocations: 2.062 kB / 0.5733 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3894, allocations: 5.062 kB / 0.5733 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.3894, allocations: 8.641 kB / 0.5734 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3894, allocations: 1.031 kB / 0.5734 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.3895, allocations: 2.844 kB / 0.5734 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3895, allocations: 1.812 kB / 0.5734 GB, free: 27.54 MB / 446.1 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.571e-05/0.3895, allocations: 115.8 kB / 0.5735 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3896, allocations: 3.312 kB / 0.5735 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.3897, allocations: 125.8 kB / 0.5736 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.3897, allocations: 181.1 kB / 0.5738 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/0.3897, allocations: 182 kB / 0.5739 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.3898, allocations: 178.5 kB / 0.5741 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3899, allocations: 411.8 kB / 0.5745 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.3899, allocations: 105.9 kB / 0.5746 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.3899, allocations: 104 kB / 0.5747 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.687e-05/0.39, allocations: 185.1 kB / 0.5749 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.39, allocations: 177 kB / 0.575 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/0.39, allocations: 178.3 kB / 0.5752 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-05/0.3901, allocations: 184 kB / 0.5754 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.3901, allocations: 319.2 kB / 0.5757 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.3902, allocations: 181.2 kB / 0.5759 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3902, allocations: 179.2 kB / 0.576 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3904, allocations: 117.8 kB / 0.5762 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3904, allocations: 180.3 kB / 0.5763 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3904, allocations: 106.7 kB / 0.5764 GB, free: 24.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.3905, allocations: 82.47 kB / 0.5765 GB, free: 24.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.3905, allocations: 0 / 0.5765 GB, free: 24.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3908, allocations: 41.11 kB / 0.5765 GB, free: 24.15 MB / 446.1 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.0002362/0.391, allocations: 235.2 kB / 0.5768 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.3911, allocations: 12.45 kB / 0.5768 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3911, allocations: 1.438 kB / 0.5768 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.3911, allocations: 0 / 0.5768 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3914, allocations: 463.1 kB / 0.5772 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.3916, allocations: 184.6 kB / 0.5774 GB, free: 23.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3918, allocations: 0.6787 MB / 0.5781 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.3918, allocations: 10.67 kB / 0.5781 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.3918, allocations: 8.562 kB / 0.5781 GB, free: 22.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3918, allocations: 1.312 kB / 0.5781 GB, free: 22.62 MB / 446.1 MB Notification: Performance of Templates: time 0.003512/0.3954, allocations: 1.219 MB / 0.5793 GB, free: 22.47 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)