Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005142/0.005142, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.268/1.268, allocations: 143.4 MB / 434.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 8 kB / 0.5166 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2308, allocations: 83.41 MB / 0.5981 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6327/0.8636, allocations: 144.1 MB / 0.7388 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.8638, allocations: 49.27 kB / 0.7389 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.8639, allocations: 1.062 kB / 0.7389 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.8641, allocations: 5.203 kB / 0.7389 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.8642, allocations: 17.83 kB / 0.7389 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000965/0.8651, allocations: 203.9 kB / 0.7391 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.8653, allocations: 58.16 kB / 0.7392 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.8653, allocations: 5.734 kB / 0.7392 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.8654, allocations: 11.36 kB / 0.7392 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.8655, allocations: 17.83 kB / 0.7392 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.8655, allocations: 1.094 kB / 0.7392 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.8661, allocations: 231.2 kB / 0.7394 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.8662, allocations: 5.672 kB / 0.7394 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.8663, allocations: 37.89 kB / 0.7395 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.8666, allocations: 127.5 kB / 0.7396 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.8666, allocations: 0 / 0.7396 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.506e-06/0.8666, allocations: 3.938 kB / 0.7396 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.8666, allocations: 0 / 0.7396 GB, free: 6.25 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.0005584/0.8672, allocations: 334.5 kB / 0.7399 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.8673, allocations: 10.03 kB / 0.7399 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.8677, allocations: 30.86 kB / 0.7399 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.8679, allocations: 161.7 kB / 0.7401 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.8679, allocations: 39.58 kB / 0.7401 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.868, allocations: 2.469 kB / 0.7401 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.8681, allocations: 50.48 kB / 0.7402 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8682, allocations: 0.5625 kB / 0.7402 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.8682, allocations: 1.266 kB / 0.7402 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.8682, allocations: 2.531 kB / 0.7402 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.8683, allocations: 21.33 kB / 0.7402 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.8687, allocations: 260.3 kB / 0.7405 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.8688, allocations: 29.42 kB / 0.7405 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.8688, allocations: 9.125 kB / 0.7405 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.869, allocations: 90.67 kB / 0.7406 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.869, allocations: 36.66 kB / 0.7406 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8691, allocations: 4 kB / 0.7406 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002853/0.8693, allocations: 44.55 kB / 0.7407 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.8694, allocations: 56.78 kB / 0.7407 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.8695, allocations: 110.2 kB / 0.7408 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.8696, allocations: 28.23 kB / 0.7408 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.8697, allocations: 90.3 kB / 0.7409 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.8697, allocations: 6.484 kB / 0.7409 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.8697, allocations: 10.41 kB / 0.7409 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8699, allocations: 321.4 kB / 0.7413 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.8699, allocations: 4.094 kB / 0.7413 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.87, allocations: 21.55 kB / 0.7413 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.87, allocations: 32.27 kB / 0.7413 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.87, allocations: 4 kB / 0.7413 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001771/0.8702, allocations: 61.66 kB / 0.7414 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8702, allocations: 5.469 kB / 0.7414 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.8703, allocations: 0.5156 kB / 0.7414 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8703, allocations: 1.438 kB / 0.7414 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.8703, allocations: 7.594 kB / 0.7414 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8704, allocations: 3.938 kB / 0.7414 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.8704, allocations: 8.344 kB / 0.7414 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.8704, allocations: 2.688 kB / 0.7414 GB, free: 4.367 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 8.38e-05/0.8705, allocations: 113.5 kB / 0.7415 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.8705, allocations: 2.031 kB / 0.7415 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.8706, allocations: 8.312 kB / 0.7415 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8706, allocations: 1.078 kB / 0.7415 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.8706, allocations: 3.938 kB / 0.7415 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8706, allocations: 2.438 kB / 0.7415 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.8709, allocations: 359.4 kB / 0.7419 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.871, allocations: 0 / 0.7419 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.871, allocations: 4.188 kB / 0.7419 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.871, allocations: 6.844 kB / 0.7419 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.871, allocations: 5.859 kB / 0.7419 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.871, allocations: 1.031 kB / 0.7419 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/0.871, allocations: 5.188 kB / 0.7419 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.8711, allocations: 73.66 kB / 0.742 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.8712, allocations: 87.45 kB / 0.742 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.8712, allocations: 1.766 kB / 0.742 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.8713, allocations: 4.766 kB / 0.7421 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.8713, allocations: 1.594 kB / 0.7421 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.8713, allocations: 1.719 kB / 0.7421 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.8714, allocations: 84.77 kB / 0.7421 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8714, allocations: 0 / 0.7421 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001954/0.8716, allocations: 10.41 kB / 0.7421 GB, free: 3.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001632/0.8718, allocations: 99.67 kB / 0.7422 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.8719, allocations: 15 kB / 0.7423 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8719, allocations: 5.531 kB / 0.7423 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.8719, allocations: 7.984 kB / 0.7423 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.8722, allocations: 16.02 kB / 0.7423 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.8725, allocations: 128.7 kB / 0.7424 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.8728, allocations: 0.677 MB / 0.7431 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.8729, allocations: 10.27 kB / 0.7431 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.8729, allocations: 8.531 kB / 0.7431 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.8729, allocations: 0 / 0.7431 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of Templates: time 0.003255/0.8762, allocations: 0.5542 MB / 0.7436 GB, free: 2.57 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)