Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.113/2.113, allocations: 288.4 MB / 304.3 MB, free: 8.207 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.001039/0.001039, allocations: 183.3 kB / 372.9 MB, free: 10.16 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.233/1.233, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0007263/0.0007266, allocations: 100.6 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 15.86 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4763/0.6329, allocations: 134.4 MB / 1.112 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.6331, allocations: 50.75 kB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.6331, allocations: 0.75 kB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.6332, allocations: 1.359 kB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.6333, allocations: 11.48 kB / 1.112 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.634, allocations: 180 kB / 1.112 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.6341, allocations: 47.14 kB / 1.112 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.6341, allocations: 7.453 kB / 1.112 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.6341, allocations: 15.64 kB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.6342, allocations: 10.91 kB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.6342, allocations: 0 / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.6347, allocations: 229.8 kB / 1.113 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.6347, allocations: 11.53 kB / 1.113 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.6349, allocations: 35.61 kB / 1.113 GB, free: 18.69 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.6351, allocations: 74.45 kB / 1.113 GB, free: 18.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6351, allocations: 1.281 kB / 1.113 GB, free: 18.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6351, allocations: 0 / 1.113 GB, free: 18.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.6351, allocations: 4 kB / 1.113 GB, free: 18.68 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.000364/0.6355, allocations: 335.7 kB / 1.113 GB, free: 18.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6355, allocations: 9.562 kB / 1.113 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.6358, allocations: 23.64 kB / 1.113 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.6359, allocations: 169.2 kB / 1.113 GB, free: 18.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.636, allocations: 35.5 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.636, allocations: 2.438 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.6362, allocations: 54.97 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6362, allocations: 0 / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.6362, allocations: 0.7969 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.6362, allocations: 1.906 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.6363, allocations: 25.05 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.6366, allocations: 254.4 kB / 1.114 GB, free: 17.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.759e-05/0.6366, allocations: 27.92 kB / 1.114 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.6366, allocations: 11.88 kB / 1.114 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.6368, allocations: 93.94 kB / 1.114 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.6368, allocations: 35.28 kB / 1.114 GB, free: 17.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6368, allocations: 0 / 1.114 GB, free: 17.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002096/0.637, allocations: 49.16 kB / 1.114 GB, free: 17.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.6371, allocations: 53.36 kB / 1.114 GB, free: 17.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.6371, allocations: 108.7 kB / 1.114 GB, free: 17.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6371, allocations: 29.33 kB / 1.114 GB, free: 17.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.6372, allocations: 85.73 kB / 1.114 GB, free: 17.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-06/0.6372, allocations: 6.531 kB / 1.114 GB, free: 17.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.6372, allocations: 0 / 1.114 GB, free: 17.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.6373, allocations: 320.6 kB / 1.114 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.6373, allocations: 12.06 kB / 1.114 GB, free: 16.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.6373, allocations: 20.97 kB / 1.114 GB, free: 16.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.6374, allocations: 33.31 kB / 1.114 GB, free: 16.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6374, allocations: 0 / 1.114 GB, free: 16.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.051e-05/0.6375, allocations: 56.19 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6375, allocations: 5.703 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6375, allocations: 1.594 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6375, allocations: 1 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.6376, allocations: 11.61 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6376, allocations: 2.203 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.6376, allocations: 9.125 kB / 1.114 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6377, allocations: 1.219 kB / 1.114 GB, free: 16.87 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.549e-05/0.6377, allocations: 116.3 kB / 1.115 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.6378, allocations: 6.891 kB / 1.115 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.6378, allocations: 6.031 kB / 1.115 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6378, allocations: 1.766 kB / 1.115 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6378, allocations: 0 / 1.115 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.6378, allocations: 82.7 kB / 1.115 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.6378, allocations: 3.234 kB / 1.115 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.638, allocations: 4.891 kB / 1.115 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.638, allocations: 2.562 kB / 1.115 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.296e-05/0.6381, allocations: 128 kB / 1.115 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001082/0.6382, allocations: 209.8 kB / 1.115 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.634e-05/0.6382, allocations: 2.891 kB / 1.115 GB, free: 16.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.6383, allocations: 84.31 kB / 1.115 GB, free: 16.25 MB / 0.698 GB Notification: Performance of Backend: time 2.9e-07/0.6383, allocations: 0 / 1.115 GB, free: 16.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.6387, allocations: 134.5 kB / 1.115 GB, free: 16.16 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003762/0.6391, allocations: 0.5744 MB / 1.116 GB, free: 15.58 MB / 0.698 GB Notification: Performance of Templates: time 0.003068/0.6422, allocations: 0.9395 MB / 1.117 GB, free: 15.46 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)