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.006882/0.006882, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001146/0.001146, allocations: 197.5 kB / 16.67 MB, free: 5.977 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.998/0.998, allocations: 143 MB / 433.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 59.91 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4511, allocations: 82.03 MB / 0.6756 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1707/0.6218, allocations: 147.8 MB / 0.82 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001635/0.622, allocations: 51.84 kB / 0.8201 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.6221, allocations: 4 kB / 0.8201 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.6222, allocations: 3.938 kB / 0.8201 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.6223, allocations: 15.91 kB / 0.8201 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.6228, allocations: 107 kB / 0.8202 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.623, allocations: 39.84 kB / 0.8202 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.623, allocations: 0 / 0.8202 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.6231, allocations: 19.91 kB / 0.8202 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.6232, allocations: 8 kB / 0.8203 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.6232, allocations: 0 / 0.8203 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.6235, allocations: 87.72 kB / 0.8203 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.6235, allocations: 7.984 kB / 0.8203 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.6236, allocations: 15.88 kB / 0.8204 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.6237, allocations: 75.83 kB / 0.8204 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6238, allocations: 3.938 kB / 0.8204 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6238, allocations: 0 / 0.8204 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6238, allocations: 0 / 0.8204 GB, free: 1.652 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.000465/0.6242, allocations: 335.4 kB / 0.8208 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6243, allocations: 8.625 kB / 0.8208 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.6245, allocations: 28.81 kB / 0.8208 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.6247, allocations: 164.4 kB / 0.8209 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.6248, allocations: 29.64 kB / 0.821 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6248, allocations: 4 kB / 0.821 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.6249, allocations: 45.67 kB / 0.821 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6249, allocations: 0 / 0.821 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6249, allocations: 4 kB / 0.821 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.625, allocations: 4 kB / 0.821 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.625, allocations: 23.92 kB / 0.8211 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.6255, allocations: 258.7 kB / 0.8213 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.6255, allocations: 18.58 kB / 0.8213 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.6255, allocations: 8.922 kB / 0.8213 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.6256, allocations: 0 / 0.8213 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.6256, allocations: 34.56 kB / 0.8214 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.6256, allocations: 0 / 0.8214 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.6257, allocations: 33.64 kB / 0.8214 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.6258, allocations: 59.34 kB / 0.8214 GB, free: 444 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.6259, allocations: 109.8 kB / 0.8216 GB, free: 324 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6259, allocations: 25.7 kB / 0.8216 GB, free: 292 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.6261, allocations: 99.88 kB / 0.8217 GB, free: 188 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-06/0.6261, allocations: 4.125 kB / 0.8217 GB, free: 184 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.6261, allocations: 21.7 kB / 0.8217 GB, free: 156 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6263, allocations: 310.8 kB / 0.822 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.6263, allocations: 4 kB / 0.822 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.6263, allocations: 26.56 kB / 0.822 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.722e-05/0.6264, allocations: 34.52 kB / 0.8221 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6264, allocations: 4 kB / 0.8221 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001442/0.6266, allocations: 57.53 kB / 0.8221 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6266, allocations: 4 kB / 0.8221 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6266, allocations: 0 / 0.8221 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6266, allocations: 0 / 0.8221 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.6267, allocations: 8 kB / 0.8221 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.6267, allocations: 3.938 kB / 0.8221 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.786e-05/0.6267, allocations: 8.094 kB / 0.8221 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.6267, allocations: 0 / 0.8221 GB, free: 15.67 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 7.661e-05/0.6268, allocations: 121.7 kB / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.6269, allocations: 0 / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.6269, allocations: 7.125 kB / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.6269, allocations: 0 / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6269, allocations: 3.938 kB / 0.8223 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6269, allocations: 4.25 kB / 0.8223 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.6272, allocations: 342.8 kB / 0.8226 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6272, allocations: 7.984 kB / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.6272, allocations: 0 / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6272, allocations: 3.938 kB / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.6272, allocations: 0 / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6272, allocations: 0 / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6273, allocations: 4 kB / 0.8226 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.156e-05/0.6273, allocations: 65.02 kB / 0.8227 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.6274, allocations: 81.05 kB / 0.8227 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.6274, allocations: 7.984 kB / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.6275, allocations: 0 / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.6275, allocations: 4.078 kB / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.6276, allocations: 7.938 kB / 0.8228 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.6276, allocations: 83.27 kB / 0.8228 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6276, allocations: 0 / 0.8228 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002119/0.6278, allocations: 8 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.0001298/0.628, allocations: 103.3 kB / 0.823 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.6281, allocations: 11.94 kB / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6281, allocations: 0 / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.545e-06/0.6281, allocations: 4 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.0002684/0.6284, allocations: 7.984 kB / 0.823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.6286, allocations: 114.8 kB / 0.8231 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.629, allocations: 0.6767 MB / 0.8237 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.392e-05/0.629, allocations: 11.84 kB / 0.8238 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.6291, allocations: 7.438 kB / 0.8238 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.6291, allocations: 0 / 0.8238 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.003082/0.6322, allocations: 0.5187 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)