Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.458/2.458, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 174.6 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.281/2.281, allocations: 205.4 MB / 0.5772 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008853/0.0008852, allocations: 84.48 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.000464, allocations: 12.66 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 106.3 MB / 0.8995 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2154/0.4226, allocations: 134.5 MB / 1.031 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.4228, allocations: 43.91 kB / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.4228, allocations: 0 / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.423, allocations: 3.984 kB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.4231, allocations: 7.922 kB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008046/0.4239, allocations: 148.3 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.424, allocations: 43.84 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.424, allocations: 0 / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.4241, allocations: 19.91 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.4242, allocations: 15.98 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.4242, allocations: 0 / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.4247, allocations: 95.67 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.4247, allocations: 19.97 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.4248, allocations: 25.7 kB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.425, allocations: 55.88 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.425, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.425, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.425, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 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.0004469/0.4255, allocations: 343.3 kB / 1.032 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4255, allocations: 8.031 kB / 1.032 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.4259, allocations: 24.91 kB / 1.032 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.4261, allocations: 164.4 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-05/0.4262, allocations: 41.58 kB / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4262, allocations: 4 kB / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4264, allocations: 49.61 kB / 1.032 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4264, allocations: 0 / 1.032 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4264, allocations: 4 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4265, allocations: 0 / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.4265, allocations: 23.98 kB / 1.032 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.427, allocations: 260.8 kB / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.141e-05/0.4271, allocations: 26.52 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.4271, allocations: 4.859 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.4274, allocations: 97.16 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4274, allocations: 34.56 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4274, allocations: 0 / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003065/0.4277, allocations: 49.69 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.4278, allocations: 51.41 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.4279, allocations: 105.8 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4279, allocations: 25.7 kB / 1.033 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.428, allocations: 96.11 kB / 1.033 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.428, allocations: 7.844 kB / 1.033 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.428, allocations: 0 / 1.033 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4282, allocations: 314.8 kB / 1.033 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.4282, allocations: 7.984 kB / 1.033 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.4283, allocations: 22.58 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.4283, allocations: 12 kB / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4283, allocations: 0 / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.4285, allocations: 53.62 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4285, allocations: 4 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4285, allocations: 3.938 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4285, allocations: 4 kB / 1.033 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.4286, allocations: 7.984 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4286, allocations: 0 / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.4287, allocations: 7.938 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4287, allocations: 96 / 1.033 GB, free: 8.613 MB / 0.6823 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 9.976e-05/0.4288, allocations: 121.8 kB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.4289, allocations: 0 / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.4289, allocations: 3.125 kB / 1.033 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-05/0.4289, allocations: 288 / 1.033 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.429, allocations: 0 / 1.033 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.429, allocations: 92.94 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.429, allocations: 4 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4292, allocations: 7.984 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.4292, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000121/0.4294, allocations: 120.9 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001601/0.4296, allocations: 210.7 kB / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.077e-05/0.4296, allocations: 11.98 kB / 1.034 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.4297, allocations: 79.28 kB / 1.034 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of Backend: time 6.41e-07/0.4297, allocations: 4.062 kB / 1.034 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.4303, allocations: 122.2 kB / 1.034 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of SimCode: time 0.0005765/0.4308, allocations: 0.5724 MB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of Templates: time 0.004701/0.4356, allocations: 0.9435 MB / 1.035 GB, free: 6.227 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)