Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008711, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009949/0.009949, allocations: 169 kB / 16.26 MB, free: 6.652 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.545/1.545, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12.22 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3701, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00495/0.3751, allocations: 3.412 MB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002103/0.3754, allocations: 163.5 kB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.3754, allocations: 0 / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.3756, allocations: 0 / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.3757, allocations: 15.91 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.3761, allocations: 79.77 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3762, allocations: 47.89 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.3763, allocations: 3.984 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.3764, allocations: 27.86 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3765, allocations: 7.984 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3765, allocations: 7.938 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.3772, allocations: 187.5 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.3773, allocations: 11.98 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.3774, allocations: 37.58 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3775, allocations: 52.16 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3775, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3775, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3776, allocations: 0 / 1.078 GB, free: 3.512 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.0004442/0.378, allocations: 325.1 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3781, allocations: 11.97 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.3781, allocations: 8.906 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3783, allocations: 172.4 kB / 1.079 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.3783, allocations: 26.27 kB / 1.079 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.3784, allocations: 384 / 1.079 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3785, allocations: 53.55 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3785, allocations: 0 / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3786, allocations: 0 / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.3786, allocations: 0 / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.3787, allocations: 15.98 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.3792, allocations: 342 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.3793, allocations: 18.58 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.3793, allocations: 4.859 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3794, allocations: 85.16 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3795, allocations: 46.5 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 3.948e-06/0.3795, allocations: 4 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.3796, allocations: 33.61 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3797, allocations: 51.41 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.3798, allocations: 105.8 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3798, allocations: 25.7 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.3799, allocations: 84.05 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/0.3799, allocations: 0 / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.3799, allocations: 13.72 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3801, allocations: 326.9 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.3801, allocations: 4 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.3801, allocations: 13.66 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.3802, allocations: 25.7 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3802, allocations: 0 / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.946e-05/0.3802, allocations: 45.64 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3803, allocations: 12.06 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3803, allocations: 0 / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3803, allocations: 3.984 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.3804, allocations: 4 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3804, allocations: 7.938 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.3804, allocations: 0 / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3804, allocations: 0 / 1.08 GB, free: 1.406 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 8.419e-05/0.3805, allocations: 117.7 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.3805, allocations: 3.906 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3807, allocations: 128.9 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-05/0.3807, allocations: 176.3 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.651e-05/0.3808, allocations: 180.2 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/0.3809, allocations: 180.3 kB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.3811, allocations: 405.2 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/0.3811, allocations: 116.9 kB / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.3812, allocations: 101 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.606e-05/0.3813, allocations: 180.2 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.3813, allocations: 180.5 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-05/0.3814, allocations: 180.3 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.446e-05/0.3815, allocations: 184.2 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3816, allocations: 315.7 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.3817, allocations: 182.1 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.3818, allocations: 184.2 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3819, allocations: 108.9 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.382, allocations: 180.3 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.382, allocations: 108.9 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.3821, allocations: 83.27 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3821, allocations: 0 / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000242/0.3824, allocations: 15.94 kB / 1.083 GB, free: 13.95 MB / 0.8419 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.0002452/0.3826, allocations: 206.4 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.588e-05/0.3827, allocations: 12 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3827, allocations: 0 / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-06/0.3827, allocations: 0 / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.3831, allocations: 0.5302 MB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.3834, allocations: 191.9 kB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3837, allocations: 0.677 MB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.3838, allocations: 4 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.3838, allocations: 11.44 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3838, allocations: 0 / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.003039/0.3869, allocations: 0.6243 MB / 1.085 GB, free: 11.64 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)