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.000852/0.0008522, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.000915/0.0009151, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 223.3 MB / 240 MB, free: 5.402 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.8869/0.8869, allocations: 143.2 MB / 434.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 15.94 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 83.41 MB / 0.5973 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3392/0.4729, allocations: 134 MB / 0.7282 GB, free: 116 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001137/0.473, allocations: 52.86 kB / 0.7282 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.473, allocations: 0 / 0.7282 GB, free: 84 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.195e-05/0.4731, allocations: 2.312 kB / 0.7282 GB, free: 84 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.4732, allocations: 21.31 kB / 0.7282 GB, free: 72 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.4735, allocations: 78.81 kB / 0.7283 GB, free: 36 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.4736, allocations: 43.97 kB / 0.7283 GB, free: 24 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.4737, allocations: 0.7031 kB / 0.7283 GB, free: 24 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.4737, allocations: 23.91 kB / 0.7284 GB, free: 12 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.4738, allocations: 9.688 kB / 0.7284 GB, free: 12 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.4738, allocations: 5.125 kB / 0.7284 GB, free: 8 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.474, allocations: 51.44 kB / 0.7284 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.474, allocations: 5.344 kB / 0.7284 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.4741, allocations: 28.92 kB / 0.7285 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.784e-05/0.4742, allocations: 32.41 kB / 0.7285 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4742, allocations: 5.062 kB / 0.7285 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4742, allocations: 0 / 0.7285 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.4742, allocations: 0 / 0.7285 GB, free: 15.95 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.0003442/0.4746, allocations: 332.6 kB / 0.7288 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4746, allocations: 13.25 kB / 0.7288 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.4748, allocations: 21.44 kB / 0.7288 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.4749, allocations: 160.9 kB / 0.729 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.475, allocations: 29.56 kB / 0.729 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.475, allocations: 5.203 kB / 0.729 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4751, allocations: 49.56 kB / 0.7291 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4752, allocations: 0.7031 kB / 0.7291 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4752, allocations: 5.219 kB / 0.7291 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.4752, allocations: 4.828 kB / 0.7291 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.4753, allocations: 17.42 kB / 0.7291 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.4756, allocations: 261.7 kB / 0.7294 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.4757, allocations: 20.73 kB / 0.7294 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.4757, allocations: 10.56 kB / 0.7294 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.4757, allocations: 0 / 0.7294 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4757, allocations: 32.27 kB / 0.7294 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4758, allocations: 1.125 kB / 0.7294 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.4759, allocations: 38.25 kB / 0.7295 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.4759, allocations: 56.52 kB / 0.7295 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.476, allocations: 109.1 kB / 0.7296 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.476, allocations: 25.7 kB / 0.7296 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.4761, allocations: 99.31 kB / 0.7297 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.4761, allocations: 1.797 kB / 0.7297 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.4761, allocations: 0 / 0.7297 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.4762, allocations: 312.6 kB / 0.73 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.4762, allocations: 8.578 kB / 0.73 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.4762, allocations: 20.05 kB / 0.7301 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.4763, allocations: 14.89 kB / 0.7301 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4763, allocations: 0 / 0.7301 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.211e-05/0.4764, allocations: 57.72 kB / 0.7301 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4764, allocations: 5.5 kB / 0.7301 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4764, allocations: 0 / 0.7301 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.4764, allocations: 4.969 kB / 0.7301 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.4765, allocations: 12.17 kB / 0.7302 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4765, allocations: 5.078 kB / 0.7302 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.4765, allocations: 1.156 kB / 0.7302 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4765, allocations: 6.219 kB / 0.7302 GB, free: 14.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.4766, allocations: 109.7 kB / 0.7303 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.4766, allocations: 1.188 kB / 0.7303 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.4766, allocations: 9.094 kB / 0.7303 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4766, allocations: 0 / 0.7303 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4766, allocations: 4.156 kB / 0.7303 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4767, allocations: 3.953 kB / 0.7303 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.4769, allocations: 348.4 kB / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4769, allocations: 2.156 kB / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.4769, allocations: 1.609 kB / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.4769, allocations: 0 / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.4769, allocations: 1.797 kB / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.477, allocations: 3.953 kB / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.477, allocations: 1.125 kB / 0.7306 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.978e-05/0.477, allocations: 61.48 kB / 0.7307 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.4771, allocations: 83.08 kB / 0.7308 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.4771, allocations: 1 kB / 0.7308 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.4772, allocations: 4.531 kB / 0.7308 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.4772, allocations: 5.719 kB / 0.7308 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.4772, allocations: 0.5 kB / 0.7308 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.4772, allocations: 90.66 kB / 0.7309 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4772, allocations: 0.9375 kB / 0.7309 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001772/0.4774, allocations: 5.469 kB / 0.7309 GB, free: 13.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.741e-05/0.4775, allocations: 102 kB / 0.731 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.794e-05/0.4776, allocations: 9.953 kB / 0.731 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4776, allocations: 0.9375 kB / 0.731 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.4776, allocations: 2.703 kB / 0.731 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.4778, allocations: 10.11 kB / 0.731 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.4781, allocations: 125.6 kB / 0.7311 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.4783, allocations: 0.6761 MB / 0.7318 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.4783, allocations: 10.45 kB / 0.7318 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.4783, allocations: 9.219 kB / 0.7318 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4784, allocations: 0 / 0.7318 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.002013/0.4804, allocations: 475 kB / 0.7322 GB, free: 12.49 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)