Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.991/1.991, allocations: 287.4 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 184.7 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008452/0.0008454, allocations: 91.48 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 15.61 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1854, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4896/0.675, allocations: 134.4 MB / 1.111 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001036/0.6752, allocations: 46.14 kB / 1.111 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.6752, allocations: 0 / 1.111 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 6.851e-05/0.6753, allocations: 4.594 kB / 1.111 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.6753, allocations: 10.81 kB / 1.111 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.6759, allocations: 145.1 kB / 1.111 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.676, allocations: 41.22 kB / 1.111 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 2.403e-05/0.676, allocations: 4.609 kB / 1.111 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.676, allocations: 14.53 kB / 1.111 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.6761, allocations: 11.58 kB / 1.111 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.6761, allocations: 0.9688 kB / 1.111 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.6764, allocations: 109.6 kB / 1.111 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.6765, allocations: 5.656 kB / 1.111 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.6766, allocations: 30.2 kB / 1.111 GB, free: 18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.6767, allocations: 55.95 kB / 1.111 GB, free: 18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6767, allocations: 0 / 1.111 GB, free: 18 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6767, allocations: 0 / 1.111 GB, free: 18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.525e-06/0.6767, allocations: 1.188 kB / 1.111 GB, free: 18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002896/0.677, allocations: 334.3 kB / 1.111 GB, free: 17.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.6771, allocations: 8.219 kB / 1.111 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.6773, allocations: 31.31 kB / 1.111 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.693e-05/0.6775, allocations: 172 kB / 1.112 GB, free: 17.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.6775, allocations: 31.98 kB / 1.112 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.6775, allocations: 0.8125 kB / 1.112 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.6777, allocations: 51.64 kB / 1.112 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-06/0.6777, allocations: 1.859 kB / 1.112 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.6777, allocations: 1.953 kB / 1.112 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.6777, allocations: 1.672 kB / 1.112 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.6778, allocations: 27.3 kB / 1.112 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.6781, allocations: 256.1 kB / 1.112 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.6781, allocations: 23.67 kB / 1.112 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.6781, allocations: 11.23 kB / 1.112 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.6783, allocations: 98.12 kB / 1.112 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.6783, allocations: 32.08 kB / 1.112 GB, free: 16.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.6783, allocations: 1.031 kB / 1.112 GB, free: 16.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001995/0.6785, allocations: 50.81 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.6785, allocations: 54.66 kB / 1.112 GB, free: 16.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.6786, allocations: 103.4 kB / 1.112 GB, free: 16.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6786, allocations: 30.12 kB / 1.112 GB, free: 16.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.6787, allocations: 90.16 kB / 1.112 GB, free: 16.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.6787, allocations: 8.766 kB / 1.112 GB, free: 16.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.6787, allocations: 1.969 kB / 1.112 GB, free: 16.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.6788, allocations: 319.8 kB / 1.113 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.6788, allocations: 3.938 kB / 1.113 GB, free: 16.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.6788, allocations: 25.38 kB / 1.113 GB, free: 16.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.6789, allocations: 34.97 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.6789, allocations: 0 / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.218e-05/0.679, allocations: 53.69 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.679, allocations: 6 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.679, allocations: 1.406 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.679, allocations: 0 / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.6791, allocations: 8.359 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.6791, allocations: 4 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.6791, allocations: 10.47 kB / 1.113 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.6791, allocations: 1.375 kB / 1.113 GB, free: 16.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.6792, allocations: 113.3 kB / 1.113 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.6792, allocations: 1.438 kB / 1.113 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.6792, allocations: 3.828 kB / 1.113 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6793, allocations: 1.906 kB / 1.113 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6793, allocations: 5.797 kB / 1.113 GB, free: 16.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.6793, allocations: 87.02 kB / 1.113 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.6793, allocations: 4.219 kB / 1.113 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6794, allocations: 5.672 kB / 1.113 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.6795, allocations: 2.016 kB / 1.113 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.204e-05/0.6795, allocations: 111.9 kB / 1.113 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001025/0.6797, allocations: 213.6 kB / 1.113 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.642e-05/0.6797, allocations: 7.891 kB / 1.113 GB, free: 15.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.6797, allocations: 84.02 kB / 1.113 GB, free: 15.56 MB / 0.698 GB Notification: Performance of Backend: time 3.61e-07/0.6797, allocations: 0 / 1.113 GB, free: 15.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.6801, allocations: 121.7 kB / 1.114 GB, free: 15.49 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003752/0.6805, allocations: 0.5771 MB / 1.114 GB, free: 14.9 MB / 0.698 GB Notification: Performance of Templates: time 0.003039/0.6836, allocations: 0.9362 MB / 1.115 GB, free: 14.78 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)