Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.005539/0.00554, allocations: 102 kB / 15.73 MB, free: 6.035 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.001786/0.001787, allocations: 199.7 kB / 16.68 MB, free: 5.957 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9943/0.9943, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 0.5955 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4882, allocations: 82.03 MB / 0.6756 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.157/0.6452, allocations: 147.8 MB / 0.82 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.6455, allocations: 51.86 kB / 0.8201 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.6455, allocations: 0 / 0.8201 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.6457, allocations: 15.94 kB / 0.8201 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.6459, allocations: 7.969 kB / 0.8201 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.6465, allocations: 111.1 kB / 0.8202 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.6466, allocations: 35.84 kB / 0.8202 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.6467, allocations: 4 kB / 0.8202 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.6468, allocations: 15.92 kB / 0.8202 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.6469, allocations: 15.98 kB / 0.8203 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.6469, allocations: 4 kB / 0.8203 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.6473, allocations: 79.72 kB / 0.8203 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.6474, allocations: 11.98 kB / 0.8203 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.6474, allocations: 11.92 kB / 0.8204 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.6476, allocations: 67.86 kB / 0.8204 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.6477, allocations: 4 kB / 0.8204 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6477, allocations: 0 / 0.8204 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.6477, allocations: 0 / 0.8204 GB, free: 1.656 MB / 0.6387 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.0005906/0.6483, allocations: 335.4 kB / 0.8207 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6483, allocations: 16.62 kB / 0.8208 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.6486, allocations: 24.77 kB / 0.8208 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.6488, allocations: 168.3 kB / 0.8209 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.6488, allocations: 33.64 kB / 0.821 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6489, allocations: 4 kB / 0.821 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.649, allocations: 45.67 kB / 0.821 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.649, allocations: 0 / 0.821 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.6491, allocations: 8 kB / 0.821 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.6491, allocations: 3.984 kB / 0.821 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/0.6491, allocations: 19.98 kB / 0.8211 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.6497, allocations: 258.7 kB / 0.8213 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.6498, allocations: 18.52 kB / 0.8213 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.6498, allocations: 8.859 kB / 0.8213 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.6498, allocations: 4.062 kB / 0.8213 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.6499, allocations: 30.56 kB / 0.8214 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.6499, allocations: 0 / 0.8214 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0002121/0.6501, allocations: 33.7 kB / 0.8214 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.6502, allocations: 59.28 kB / 0.8215 GB, free: 436 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6503, allocations: 105.8 kB / 0.8216 GB, free: 320 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.6503, allocations: 33.83 kB / 0.8216 GB, free: 280 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.6504, allocations: 95.88 kB / 0.8217 GB, free: 180 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-06/0.6504, allocations: 0 / 0.8217 GB, free: 180 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.6505, allocations: 17.72 kB / 0.8217 GB, free: 156 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6507, allocations: 314.8 kB / 0.822 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.6507, allocations: 4 kB / 0.822 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.732e-05/0.6507, allocations: 26.56 kB / 0.822 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.6508, allocations: 34.52 kB / 0.8221 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.6508, allocations: 0 / 0.8221 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/0.6509, allocations: 61.53 kB / 0.8221 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.651, allocations: 4 kB / 0.8221 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.651, allocations: 0 / 0.8221 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.651, allocations: 0 / 0.8221 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.6511, allocations: 12.09 kB / 0.8221 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.6511, allocations: 3.938 kB / 0.8221 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.6512, allocations: 3.984 kB / 0.8221 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.6512, allocations: 4 kB / 0.8221 GB, free: 15.66 MB / 0.6544 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 0.0001032/0.6513, allocations: 113.8 kB / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.6513, allocations: 0 / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.6514, allocations: 3.125 kB / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6514, allocations: 0 / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6514, allocations: 3.938 kB / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6514, allocations: 4 kB / 0.8223 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.6517, allocations: 350.7 kB / 0.8226 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6517, allocations: 3.938 kB / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.6517, allocations: 0 / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6517, allocations: 3.938 kB / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.6518, allocations: 256 / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6518, allocations: 4 kB / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6518, allocations: 0 / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.6519, allocations: 69.02 kB / 0.8227 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.6519, allocations: 85.03 kB / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.652, allocations: 4 kB / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.6521, allocations: 0 / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.6521, allocations: 0 / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.6521, allocations: 0 / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.6522, allocations: 91.27 kB / 0.8228 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6522, allocations: 4.031 kB / 0.8228 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002074/0.6524, allocations: 4 kB / 0.8229 GB, free: 14.83 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001482/0.6525, allocations: 99.25 kB / 0.8229 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.6526, allocations: 19.88 kB / 0.823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6527, allocations: 0 / 0.823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-06/0.6527, allocations: 7.984 kB / 0.823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.653, allocations: 0 / 0.823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.6534, allocations: 118.8 kB / 0.8231 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.6538, allocations: 0.6729 MB / 0.8237 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.181e-05/0.6538, allocations: 15.92 kB / 0.8238 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.6539, allocations: 7.438 kB / 0.8238 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.6539, allocations: 0 / 0.8238 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.003094/0.657, allocations: 0.517 MB / 0.8243 GB, free: 13.35 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)