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.001026/0.001026, allocations: 115.8 kB / 16.42 MB, free: 6.5 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.001001/0.001001, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.273/1.273, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 299 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9232/0.9232, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3731, allocations: 86.98 MB / 0.767 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1367/0.5098, allocations: 148.3 MB / 0.9118 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.51, allocations: 59.66 kB / 0.9119 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.51, allocations: 0 / 0.9119 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 9.846e-05/0.5102, allocations: 11.94 kB / 0.9119 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.5103, allocations: 11.86 kB / 0.9119 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.5109, allocations: 215.2 kB / 0.9121 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.511, allocations: 31.86 kB / 0.9121 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.5111, allocations: 4 kB / 0.9121 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.5111, allocations: 19.97 kB / 0.9122 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.5112, allocations: 7.938 kB / 0.9122 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.5112, allocations: 4 kB / 0.9122 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.5116, allocations: 203.4 kB / 0.9124 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.5116, allocations: 4 kB / 0.9124 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.5117, allocations: 19.91 kB / 0.9124 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.5119, allocations: 103.7 kB / 0.9125 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5119, allocations: 4 kB / 0.9125 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5119, allocations: 0 / 0.9125 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.5119, allocations: 4 kB / 0.9125 GB, free: 14.53 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.0003467/0.5123, allocations: 338 kB / 0.9128 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5123, allocations: 12.03 kB / 0.9128 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.5127, allocations: 24.91 kB / 0.9129 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.5128, allocations: 168.3 kB / 0.913 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.5128, allocations: 37.58 kB / 0.9131 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.5128, allocations: 0 / 0.9131 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.513, allocations: 53.67 kB / 0.9131 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.513, allocations: 0 / 0.9131 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.513, allocations: 0 / 0.9131 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.513, allocations: 4 kB / 0.9131 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.5131, allocations: 19.98 kB / 0.9131 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.5134, allocations: 260.8 kB / 0.9134 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.5135, allocations: 30.52 kB / 0.9134 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.5135, allocations: 8.922 kB / 0.9134 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.5136, allocations: 89.09 kB / 0.9135 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5137, allocations: 34.56 kB / 0.9135 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5137, allocations: 0 / 0.9135 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.5139, allocations: 49.78 kB / 0.9136 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.5139, allocations: 59.33 kB / 0.9136 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.514, allocations: 109.7 kB / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.514, allocations: 25.7 kB / 0.9138 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.5141, allocations: 80.14 kB / 0.9138 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.5141, allocations: 15.89 kB / 0.9139 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.5141, allocations: 13.72 kB / 0.9139 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.5142, allocations: 318.8 kB / 0.9142 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.5142, allocations: 8.031 kB / 0.9142 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.5143, allocations: 22.56 kB / 0.9142 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.5143, allocations: 30.52 kB / 0.9142 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5143, allocations: 3.938 kB / 0.9142 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.456e-05/0.5144, allocations: 61.53 kB / 0.9143 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5144, allocations: 8 kB / 0.9143 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5145, allocations: 0 / 0.9143 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5145, allocations: 0 / 0.9143 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.5145, allocations: 12 kB / 0.9143 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5145, allocations: 0 / 0.9143 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.5146, allocations: 4.219 kB / 0.9143 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.5146, allocations: 7.984 kB / 0.9143 GB, free: 12.4 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.78e-05/0.5147, allocations: 112.3 kB / 0.9144 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.5147, allocations: 7.938 kB / 0.9144 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.5147, allocations: 11.11 kB / 0.9145 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.5147, allocations: 0 / 0.9145 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5147, allocations: 0 / 0.9145 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.5148, allocations: 81.05 kB / 0.9145 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.5148, allocations: 0 / 0.9145 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5149, allocations: 11.98 kB / 0.9145 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.5149, allocations: 0 / 0.9145 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.59e-05/0.515, allocations: 120.9 kB / 0.9147 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001069/0.5151, allocations: 214.7 kB / 0.9149 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.977e-05/0.5152, allocations: 4 kB / 0.9149 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.5152, allocations: 91.2 kB / 0.915 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Backend: time 3.11e-07/0.5152, allocations: 0 / 0.915 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.5157, allocations: 126.4 kB / 0.9151 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0004087/0.5161, allocations: 0.5582 MB / 0.9156 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of Templates: time 0.00328/0.5194, allocations: 1.019 MB / 0.9166 GB, free: 9.957 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)