Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 119 kB / 16.42 MB, free: 6.492 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.001015/0.001015, allocations: 186.5 kB / 17.34 MB, free: 5.75 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.271/1.271, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 283 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9198/0.9198, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 99.83 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3689, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1421/0.511, allocations: 148.3 MB / 0.9118 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.5112, allocations: 47.86 kB / 0.9119 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.5112, allocations: 0 / 0.9119 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 9.721e-05/0.5113, allocations: 7.875 kB / 0.9119 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.5115, allocations: 15.91 kB / 0.9119 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.5122, allocations: 214.5 kB / 0.9121 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.5123, allocations: 35.91 kB / 0.9121 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.5123, allocations: 0 / 0.9121 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.5124, allocations: 19.92 kB / 0.9122 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.5124, allocations: 19.91 kB / 0.9122 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5124, allocations: 0 / 0.9122 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.5129, allocations: 199.5 kB / 0.9124 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.5129, allocations: 11.98 kB / 0.9124 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.513, allocations: 7.938 kB / 0.9124 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.5132, allocations: 115.4 kB / 0.9125 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5132, allocations: 4 kB / 0.9125 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5132, allocations: 0 / 0.9125 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.5132, allocations: 0 / 0.9125 GB, free: 14.42 MB / 0.6856 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.0003527/0.5136, allocations: 342 kB / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5136, allocations: 15.97 kB / 0.9128 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.514, allocations: 28.91 kB / 0.9129 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5141, allocations: 160.4 kB / 0.913 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.5141, allocations: 37.64 kB / 0.9131 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.5142, allocations: 0 / 0.9131 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.5143, allocations: 49.62 kB / 0.9131 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5143, allocations: 3.984 kB / 0.9131 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5143, allocations: 0 / 0.9131 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.5143, allocations: 7.984 kB / 0.9131 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.951e-05/0.5144, allocations: 19.98 kB / 0.9131 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.5147, allocations: 260.9 kB / 0.9134 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.5148, allocations: 26.5 kB / 0.9134 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.5148, allocations: 12.92 kB / 0.9134 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.515, allocations: 89.09 kB / 0.9135 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.515, allocations: 38.56 kB / 0.9135 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.515, allocations: 0 / 0.9135 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0002337/0.5152, allocations: 45.69 kB / 0.9136 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.5153, allocations: 51.41 kB / 0.9136 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.5153, allocations: 109.7 kB / 0.9137 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5154, allocations: 29.69 kB / 0.9138 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.5154, allocations: 88.25 kB / 0.9139 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.5154, allocations: 11.91 kB / 0.9139 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.5155, allocations: 17.66 kB / 0.9139 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.5156, allocations: 318.8 kB / 0.9142 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.5156, allocations: 7.984 kB / 0.9142 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.5156, allocations: 18.58 kB / 0.9142 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.5157, allocations: 34.52 kB / 0.9142 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5157, allocations: 0 / 0.9142 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.361e-05/0.5158, allocations: 57.53 kB / 0.9143 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5158, allocations: 11.94 kB / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5158, allocations: 3.984 kB / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.5158, allocations: 0 / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.5159, allocations: 11.98 kB / 0.9143 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5159, allocations: 4.094 kB / 0.9143 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.5159, allocations: 7.938 kB / 0.9143 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.5159, allocations: 7.938 kB / 0.9143 GB, free: 12.27 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.516, allocations: 105.8 kB / 0.9144 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.516, allocations: 4 kB / 0.9145 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.5161, allocations: 7.125 kB / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5161, allocations: 0 / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5161, allocations: 0 / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.5161, allocations: 85.03 kB / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.5161, allocations: 4 kB / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5162, allocations: 4 kB / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.5163, allocations: 0 / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.828e-05/0.5164, allocations: 120.9 kB / 0.9147 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001144/0.5165, allocations: 210.7 kB / 0.9149 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.852e-05/0.5165, allocations: 12.05 kB / 0.9149 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.5165, allocations: 79.56 kB / 0.9149 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of Backend: time 3.31e-07/0.5166, allocations: 0 / 0.9149 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.517, allocations: 133.1 kB / 0.9151 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0003883/0.5174, allocations: 0.57 MB / 0.9156 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of Templates: time 0.003274/0.5207, allocations: 1.003 MB / 0.9166 GB, free: 9.84 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)