Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001667/0.001667, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 293.1 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.9268/0.9268, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3737, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1427/0.5165, allocations: 147.8 MB / 0.9114 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.5166, allocations: 59.86 kB / 0.9115 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.5167, allocations: 0 / 0.9115 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.5168, allocations: 11.92 kB / 0.9115 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.5169, allocations: 7.938 kB / 0.9115 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.5174, allocations: 107.6 kB / 0.9116 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.5175, allocations: 31.84 kB / 0.9116 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.5175, allocations: 7.984 kB / 0.9116 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.5176, allocations: 15.94 kB / 0.9117 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.5176, allocations: 11.97 kB / 0.9117 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.5177, allocations: 4 kB / 0.9117 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.5179, allocations: 87.72 kB / 0.9118 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.518, allocations: 15.92 kB / 0.9118 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.518, allocations: 7.938 kB / 0.9118 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.5182, allocations: 83.42 kB / 0.9119 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5182, allocations: 4 kB / 0.9119 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5182, allocations: 0 / 0.9119 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5182, allocations: 0 / 0.9119 GB, free: 15.07 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.0003606/0.5186, allocations: 330 kB / 0.9122 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5186, allocations: 12.03 kB / 0.9122 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.5189, allocations: 20.92 kB / 0.9122 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.519, allocations: 164.4 kB / 0.9124 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.519, allocations: 33.62 kB / 0.9124 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.519, allocations: 0 / 0.9124 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5192, allocations: 45.69 kB / 0.9124 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5192, allocations: 0 / 0.9124 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5192, allocations: 4 kB / 0.9124 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.5192, allocations: 7.938 kB / 0.9125 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.17e-05/0.5193, allocations: 15.98 kB / 0.9125 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.5197, allocations: 256.9 kB / 0.9127 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.5197, allocations: 18.58 kB / 0.9127 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.5197, allocations: 8.859 kB / 0.9127 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-06/0.5197, allocations: 0 / 0.9127 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.5198, allocations: 30.56 kB / 0.9128 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5198, allocations: 3.938 kB / 0.9128 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.5199, allocations: 45.66 kB / 0.9128 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.5199, allocations: 51.41 kB / 0.9129 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.52, allocations: 109.8 kB / 0.913 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5201, allocations: 29.77 kB / 0.913 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.5201, allocations: 91.98 kB / 0.9131 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.5201, allocations: 4 kB / 0.9131 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.5202, allocations: 21.62 kB / 0.9131 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.5203, allocations: 314.8 kB / 0.9134 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.5203, allocations: 4 kB / 0.9134 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.5203, allocations: 22.58 kB / 0.9134 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.5204, allocations: 38.5 kB / 0.9135 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5204, allocations: 0 / 0.9135 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.907e-05/0.5205, allocations: 49.73 kB / 0.9135 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5205, allocations: 4 kB / 0.9135 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.5205, allocations: 11.97 kB / 0.9135 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5205, allocations: 256 / 0.9135 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.5206, allocations: 8.094 kB / 0.9135 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5206, allocations: 15.88 kB / 0.9136 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.5207, allocations: 0 / 0.9136 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.5207, allocations: 3.938 kB / 0.9136 GB, free: 13.09 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.839e-05/0.5207, allocations: 116.2 kB / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.5208, allocations: 0 / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.5208, allocations: 7.125 kB / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5208, allocations: 3.984 kB / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5208, allocations: 0 / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.5208, allocations: 88.95 kB / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.5209, allocations: 0 / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.521, allocations: 4 kB / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.521, allocations: 0 / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.639e-05/0.5211, allocations: 113 kB / 0.9139 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001079/0.5212, allocations: 206.7 kB / 0.9141 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.282e-05/0.5212, allocations: 4.062 kB / 0.9141 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.5213, allocations: 87.27 kB / 0.9142 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of Backend: time 3.41e-07/0.5213, allocations: 0 / 0.9142 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.5217, allocations: 121.3 kB / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0004405/0.5221, allocations: 0.5581 MB / 0.9148 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of Templates: time 0.002747/0.5249, allocations: 0.7162 MB / 0.9155 GB, free: 11.01 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)