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.001141/0.001141, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001195/0.001195, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.8514/0.8514, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.78 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.546/0.7067, allocations: 147.8 MB / 0.8207 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.7069, allocations: 49.39 kB / 0.8207 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.7069, allocations: 3.938 kB / 0.8207 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.7071, allocations: 6.688 kB / 0.8207 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.7072, allocations: 11.91 kB / 0.8208 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.7077, allocations: 112.9 kB / 0.8209 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.543e-05/0.7078, allocations: 29.52 kB / 0.8209 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.7079, allocations: 2 kB / 0.8209 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.7079, allocations: 21.75 kB / 0.8209 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.708, allocations: 11.59 kB / 0.8209 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.708, allocations: 0 / 0.8209 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.7083, allocations: 92.14 kB / 0.821 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.7084, allocations: 9.281 kB / 0.821 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.7084, allocations: 12.25 kB / 0.821 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.7086, allocations: 67.72 kB / 0.8211 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7086, allocations: 0 / 0.8211 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7086, allocations: 1.781 kB / 0.8211 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7086, allocations: 0 / 0.8211 GB, free: 2.023 MB / 0.5919 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.0003957/0.709, allocations: 338.4 kB / 0.8214 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7091, allocations: 10.25 kB / 0.8214 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.7093, allocations: 19.48 kB / 0.8215 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.7095, allocations: 170.2 kB / 0.8216 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.7096, allocations: 32.52 kB / 0.8216 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.7096, allocations: 0 / 0.8216 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.7097, allocations: 47.45 kB / 0.8217 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7097, allocations: 0 / 0.8217 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.7098, allocations: 2.906 kB / 0.8217 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.7098, allocations: 0 / 0.8217 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.7098, allocations: 23.73 kB / 0.8217 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.7103, allocations: 270.4 kB / 0.822 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.7103, allocations: 17.08 kB / 0.822 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.7104, allocations: 4.859 kB / 0.822 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.7104, allocations: 0 / 0.822 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.7104, allocations: 40.78 kB / 0.822 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7104, allocations: 0 / 0.822 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.7106, allocations: 35.3 kB / 0.8221 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7106, allocations: 51.41 kB / 0.8221 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.7107, allocations: 109.2 kB / 0.8222 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.7107, allocations: 28.42 kB / 0.8223 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.7108, allocations: 99.88 kB / 0.8223 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.7108, allocations: 0 / 0.8223 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.7108, allocations: 18.75 kB / 0.8224 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.7109, allocations: 318.8 kB / 0.8227 GB, free: 316 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.7109, allocations: 4.438 kB / 0.8227 GB, free: 316 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.711, allocations: 23.94 kB / 0.8227 GB, free: 288 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.711, allocations: 34.2 kB / 0.8227 GB, free: 252 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.711, allocations: 3.938 kB / 0.8227 GB, free: 248 kB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.104e-05/0.7111, allocations: 56.5 kB / 0.8228 GB, free: 200 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7111, allocations: 7.25 kB / 0.8228 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.7111, allocations: 0 / 0.8228 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7112, allocations: 0 / 0.8228 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.7112, allocations: 7.656 kB / 0.8228 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7112, allocations: 7.922 kB / 0.8228 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.7113, allocations: 6.531 kB / 0.8228 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.7113, allocations: 7.719 kB / 0.8228 GB, free: 184 kB / 0.5919 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.405e-05/0.7114, allocations: 108.6 kB / 0.8229 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.7114, allocations: 2.531 kB / 0.8229 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.7114, allocations: 3.125 kB / 0.8229 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7114, allocations: 6.547 kB / 0.8229 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7115, allocations: 7.875 kB / 0.8229 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7115, allocations: 0 / 0.8229 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.7117, allocations: 350.7 kB / 0.8233 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7117, allocations: 3.938 kB / 0.8233 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.7118, allocations: 2.125 kB / 0.8233 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.7118, allocations: 3.938 kB / 0.8233 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.7118, allocations: 0 / 0.8233 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7118, allocations: 0 / 0.8233 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7118, allocations: 2.625 kB / 0.8233 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.514e-05/0.7119, allocations: 57.72 kB / 0.8233 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.7119, allocations: 87.89 kB / 0.8234 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.7119, allocations: 7.938 kB / 0.8234 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.712, allocations: 2.219 kB / 0.8234 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.712, allocations: 0 / 0.8234 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.712, allocations: 2.5 kB / 0.8234 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.7121, allocations: 81.92 kB / 0.8235 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7121, allocations: 2.688 kB / 0.8235 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001933/0.7123, allocations: 5.062 kB / 0.8235 GB, free: 15.39 MB / 0.6075 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.0001073/0.7124, allocations: 104.6 kB / 0.8236 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.148e-05/0.7125, allocations: 18.09 kB / 0.8236 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7125, allocations: 0 / 0.8236 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.7125, allocations: 3.984 kB / 0.8236 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.7128, allocations: 16.45 kB / 0.8237 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.7131, allocations: 125.8 kB / 0.8238 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.7133, allocations: 0.6797 MB / 0.8244 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.7134, allocations: 9.531 kB / 0.8245 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.7134, allocations: 0 / 0.8245 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of Templates: time 0.001956/0.7154, allocations: 0.5665 MB / 0.825 GB, free: 14.17 MB / 0.6075 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)