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.001103/0.001103, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.285 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.9722/0.9722, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8.188 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 83.41 MB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4123/0.5709, allocations: 143.7 MB / 0.7389 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.571, allocations: 59.64 kB / 0.7389 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.5711, allocations: 0 / 0.7389 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.5712, allocations: 6.406 kB / 0.7389 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.5713, allocations: 6.109 kB / 0.7389 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.5717, allocations: 100.5 kB / 0.739 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.5718, allocations: 53.98 kB / 0.7391 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.5719, allocations: 6.703 kB / 0.7391 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.5719, allocations: 17.95 kB / 0.7391 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.572, allocations: 17.95 kB / 0.7391 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.572, allocations: 1.188 kB / 0.7391 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.5723, allocations: 81.5 kB / 0.7392 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.5724, allocations: 13.53 kB / 0.7392 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.5724, allocations: 36.02 kB / 0.7392 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.5725, allocations: 45.31 kB / 0.7393 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5726, allocations: 0.5625 kB / 0.7393 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5726, allocations: 0 / 0.7393 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5726, allocations: 5.062 kB / 0.7393 GB, free: 7.016 MB / 0.5606 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.0003604/0.5729, allocations: 328.4 kB / 0.7396 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.573, allocations: 8.719 kB / 0.7396 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.5732, allocations: 20.06 kB / 0.7396 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.5733, allocations: 163.3 kB / 0.7398 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.5734, allocations: 30.98 kB / 0.7398 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.5734, allocations: 5.281 kB / 0.7398 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5736, allocations: 45.52 kB / 0.7399 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5736, allocations: 1.031 kB / 0.7399 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.5736, allocations: 0.6562 kB / 0.7399 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5736, allocations: 2.703 kB / 0.7399 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.5737, allocations: 21.61 kB / 0.7399 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.5741, allocations: 258.7 kB / 0.7401 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.738e-05/0.5741, allocations: 19.61 kB / 0.7402 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.5741, allocations: 11.58 kB / 0.7402 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.5742, allocations: 0 / 0.7402 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5742, allocations: 32.2 kB / 0.7402 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.5742, allocations: 3.984 kB / 0.7402 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.5743, allocations: 41.7 kB / 0.7402 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.5744, allocations: 55.53 kB / 0.7403 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.5745, allocations: 113.8 kB / 0.7404 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.5745, allocations: 25.7 kB / 0.7404 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.5745, allocations: 94.72 kB / 0.7405 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.82e-06/0.5746, allocations: 1.875 kB / 0.7405 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.5746, allocations: 10.72 kB / 0.7405 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5747, allocations: 317.3 kB / 0.7408 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.5747, allocations: 6.547 kB / 0.7408 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.5748, allocations: 24.42 kB / 0.7409 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.5748, allocations: 35.67 kB / 0.7409 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5748, allocations: 1.469 kB / 0.7409 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.207e-05/0.5749, allocations: 55.98 kB / 0.7409 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5749, allocations: 6.266 kB / 0.741 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5749, allocations: 5.094 kB / 0.741 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.575, allocations: 1.094 kB / 0.741 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.575, allocations: 7.266 kB / 0.741 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.575, allocations: 4.875 kB / 0.741 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.5751, allocations: 1.094 kB / 0.741 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5751, allocations: 7 kB / 0.741 GB, free: 5.238 MB / 0.5606 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.768e-05/0.5752, allocations: 113 kB / 0.7411 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.5752, allocations: 2.031 kB / 0.7411 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.5752, allocations: 9.328 kB / 0.7411 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5753, allocations: 0 / 0.7411 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5753, allocations: 4.547 kB / 0.7411 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5753, allocations: 1.781 kB / 0.7411 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.5755, allocations: 339.9 kB / 0.7414 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5755, allocations: 1.188 kB / 0.7414 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.5756, allocations: 2.578 kB / 0.7414 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5756, allocations: 4.688 kB / 0.7414 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.5756, allocations: 2 kB / 0.7414 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5756, allocations: 4.031 kB / 0.7414 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5756, allocations: 3.938 kB / 0.7414 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.742e-05/0.5757, allocations: 62.81 kB / 0.7415 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.5757, allocations: 78.23 kB / 0.7416 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.5757, allocations: 5.844 kB / 0.7416 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.5758, allocations: 4.281 kB / 0.7416 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.5759, allocations: 6.156 kB / 0.7416 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5759, allocations: 6.609 kB / 0.7416 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.5759, allocations: 84.88 kB / 0.7417 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5759, allocations: 0 / 0.7417 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001858/0.5761, allocations: 6.219 kB / 0.7417 GB, free: 4.469 MB / 0.5606 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 9.451e-05/0.5762, allocations: 98.88 kB / 0.7418 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.5763, allocations: 18.25 kB / 0.7418 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5763, allocations: 5.344 kB / 0.7418 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.181e-06/0.5763, allocations: 1.766 kB / 0.7418 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.5765, allocations: 5.891 kB / 0.7418 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.5768, allocations: 146.5 kB / 0.7419 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.577, allocations: 0.6764 MB / 0.7426 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.5771, allocations: 10.41 kB / 0.7426 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5771, allocations: 0 / 0.7426 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of Templates: time 0.001821/0.5789, allocations: 0.5611 MB / 0.7432 GB, free: 3.508 MB / 0.5606 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)