Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001522/0.001522, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 61.19 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3703, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006011/0.3763, allocations: 4.054 MB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002201/0.3766, allocations: 163.5 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.3766, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.3767, allocations: 4 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.3769, allocations: 15.91 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3772, allocations: 71.77 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3773, allocations: 55.88 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.3773, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.3774, allocations: 19.92 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.3775, allocations: 19.86 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3775, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.3777, allocations: 75.78 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.3778, allocations: 3.984 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.3778, allocations: 11.94 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.378, allocations: 43.94 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.378, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.378, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.378, allocations: 0 / 1.072 GB, free: 6.387 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.0004645/0.3785, allocations: 335.8 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3785, allocations: 12.03 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.3786, allocations: 8.844 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3787, allocations: 160.4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.3788, allocations: 30.2 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3788, allocations: 8.375 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.379, allocations: 53.59 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.379, allocations: 3.938 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.379, allocations: 3.984 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.3791, allocations: 4 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.3791, allocations: 19.98 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.3797, allocations: 330 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.3797, allocations: 22.55 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.3797, allocations: 4.859 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3798, allocations: 85.17 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3799, allocations: 34.56 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.3799, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.3801, allocations: 37.69 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3801, allocations: 59.34 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3802, allocations: 93.86 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3802, allocations: 29.7 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.3803, allocations: 95.97 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.3803, allocations: 3.906 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3803, allocations: 21.84 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3805, allocations: 318.8 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.3805, allocations: 7.984 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.3805, allocations: 13.72 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.3806, allocations: 17.72 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3806, allocations: 4 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.437e-05/0.3807, allocations: 53.62 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3807, allocations: 4 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3807, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3807, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.3808, allocations: 7.938 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3808, allocations: 7.984 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3808, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3808, allocations: 0 / 1.074 GB, free: 4.258 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 9.384e-05/0.3809, allocations: 121.8 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3809, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3811, allocations: 124.9 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-05/0.3812, allocations: 176.3 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-05/0.3812, allocations: 184.2 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-05/0.3813, allocations: 176.3 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3816, allocations: 421 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/0.3816, allocations: 101 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.3817, allocations: 104.9 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.3817, allocations: 180.2 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/0.3818, allocations: 184.3 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.729e-05/0.3819, allocations: 184.2 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.779e-05/0.382, allocations: 176.3 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3821, allocations: 311.7 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.3822, allocations: 178.1 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.3823, allocations: 192.2 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3825, allocations: 109.2 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.3826, allocations: 184.2 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.3826, allocations: 101 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.3827, allocations: 83.28 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3827, allocations: 0 / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000304/0.383, allocations: 15.98 kB / 1.077 GB, free: 0.8047 MB / 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.0003082/0.3833, allocations: 206.7 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.632e-05/0.3834, allocations: 19.97 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3834, allocations: 0 / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3834, allocations: 0 / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3838, allocations: 0.5226 MB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.3841, allocations: 179.7 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3844, allocations: 0.6731 MB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.165e-05/0.3845, allocations: 15.97 kB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.3845, allocations: 7.438 kB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3845, allocations: 0 / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.002818/0.3873, allocations: 0.6213 MB / 1.079 GB, free: 14.5 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)