Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001471/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001716, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.41 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3341, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00514/0.3393, allocations: 3.28 MB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.3395, allocations: 51.84 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.3395, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.384e-05/0.3396, allocations: 3.938 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.3397, allocations: 7.938 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.3402, allocations: 191.2 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.3403, allocations: 27.92 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.3403, allocations: 3.984 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.3404, allocations: 23.92 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.3405, allocations: 7.938 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.3405, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.3409, allocations: 179.5 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.3409, allocations: 7.984 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.3409, allocations: 11.94 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.3412, allocations: 136 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3412, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.776e-06/0.3412, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3412, allocations: 3.938 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB 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.000391/0.3416, allocations: 347.4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3417, allocations: 8.031 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3417, allocations: 12.84 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3419, allocations: 160.4 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.3419, allocations: 26.27 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3419, allocations: 384 / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3421, allocations: 49.62 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3421, allocations: 4 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3421, allocations: 0 / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.3421, allocations: 0 / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.3422, allocations: 19.98 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.3428, allocations: 0.5871 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.067e-05/0.3428, allocations: 18.58 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.3428, allocations: 16.86 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.3431, allocations: 344.4 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3431, allocations: 30.56 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.3431, allocations: 8 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.3433, allocations: 37.64 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.3433, allocations: 51.41 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.3434, allocations: 101.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3434, allocations: 25.7 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.3435, allocations: 88.05 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3435, allocations: 7.891 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3435, allocations: 21.64 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.3436, allocations: 326.9 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.3436, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.3437, allocations: 17.7 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.3437, allocations: 25.66 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3437, allocations: 0 / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.638e-05/0.3438, allocations: 45.75 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3438, allocations: 9.562 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3438, allocations: 4 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3438, allocations: 0 / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.3439, allocations: 7.938 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3439, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.3439, allocations: 3.938 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3439, allocations: 4 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB 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.816e-05/0.344, allocations: 113.8 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.344, allocations: 4 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.3441, allocations: 121 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/0.3442, allocations: 180.2 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.976e-05/0.3443, allocations: 180.2 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.512e-05/0.3443, allocations: 180.2 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3445, allocations: 413.2 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.3446, allocations: 101.1 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.3446, allocations: 112.9 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.726e-05/0.3447, allocations: 176.3 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.3447, allocations: 184.2 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.618e-05/0.3448, allocations: 180.2 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-05/0.3448, allocations: 184.3 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.345, allocations: 311.6 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.3451, allocations: 186 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.3451, allocations: 180.3 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3453, allocations: 113 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3454, allocations: 184.1 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.3454, allocations: 109 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.3454, allocations: 83.28 kB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 0 / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002798/0.3457, allocations: 32 kB / 1.077 GB, free: 260 kB / 0.8262 GB 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.0002397/0.346, allocations: 240.6 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.3461, allocations: 11.98 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3461, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3461, allocations: 128 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3465, allocations: 464.2 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.3468, allocations: 189.8 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.347, allocations: 0.6768 MB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.3471, allocations: 10.25 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.3471, allocations: 7.438 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3471, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.003335/0.3504, allocations: 1.213 MB / 1.08 GB, free: 13.45 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)