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/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.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.00107/0.00107, allocations: 104.8 kB / 16.35 MB, free: 5.824 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.001072/0.001072, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.16 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.8448/0.8448, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3218, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1409/0.4628, allocations: 148.3 MB / 0.7405 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.463, allocations: 47.88 kB / 0.7405 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.463, allocations: 3.938 kB / 0.7405 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.4631, allocations: 7.938 kB / 0.7405 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.4633, allocations: 19.91 kB / 0.7405 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.4639, allocations: 207.2 kB / 0.7407 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.464, allocations: 35.91 kB / 0.7408 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.464, allocations: 3.984 kB / 0.7408 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.4641, allocations: 11.94 kB / 0.7408 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.4642, allocations: 19.91 kB / 0.7408 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.4642, allocations: 0 / 0.7408 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.4646, allocations: 195.5 kB / 0.741 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.4646, allocations: 7.984 kB / 0.741 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.4646, allocations: 12 kB / 0.741 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.4649, allocations: 115.5 kB / 0.7411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4649, allocations: 0 / 0.7411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4649, allocations: 0 / 0.7411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.4649, allocations: 0 / 0.7411 GB, free: 10.71 MB / 0.5762 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.0003541/0.4653, allocations: 345.4 kB / 0.7415 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.4653, allocations: 8.031 kB / 0.7415 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.4656, allocations: 32.81 kB / 0.7415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.4657, allocations: 160.4 kB / 0.7417 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.4658, allocations: 37.64 kB / 0.7417 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.4658, allocations: 0 / 0.7417 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4659, allocations: 57.55 kB / 0.7417 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4659, allocations: 0 / 0.7417 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4659, allocations: 0 / 0.7417 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.466, allocations: 7.938 kB / 0.7418 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.466, allocations: 19.98 kB / 0.7418 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.4663, allocations: 256.9 kB / 0.742 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.9e-05/0.4664, allocations: 30.55 kB / 0.742 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.4664, allocations: 8.922 kB / 0.7421 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.4666, allocations: 89.09 kB / 0.7421 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4666, allocations: 38.56 kB / 0.7422 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.4666, allocations: 0 / 0.7422 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.4669, allocations: 45.69 kB / 0.7422 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.4669, allocations: 51.41 kB / 0.7423 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.467, allocations: 113.7 kB / 0.7424 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.467, allocations: 25.7 kB / 0.7424 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.4671, allocations: 96.12 kB / 0.7425 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.4671, allocations: 11.91 kB / 0.7425 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.4671, allocations: 9.719 kB / 0.7425 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.4672, allocations: 322.8 kB / 0.7428 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.4672, allocations: 4 kB / 0.7428 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.4673, allocations: 18.77 kB / 0.7428 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.4673, allocations: 34.56 kB / 0.7429 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4673, allocations: 3.938 kB / 0.7429 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.794e-05/0.4674, allocations: 57.55 kB / 0.7429 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4674, allocations: 4 kB / 0.7429 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4674, allocations: 7.984 kB / 0.7429 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4675, allocations: 96 / 0.7429 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.4675, allocations: 7.984 kB / 0.743 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4675, allocations: 8.031 kB / 0.743 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.4676, allocations: 4 kB / 0.743 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4676, allocations: 0 / 0.743 GB, free: 8.574 MB / 0.5762 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 6.901e-05/0.4677, allocations: 109.8 kB / 0.7431 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.4677, allocations: 0 / 0.7431 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.4677, allocations: 11.12 kB / 0.7431 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4677, allocations: 3.984 kB / 0.7431 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4677, allocations: 7.875 kB / 0.7431 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4677, allocations: 0 / 0.7431 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.468, allocations: 363.6 kB / 0.7434 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.468, allocations: 0 / 0.7434 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.4681, allocations: 7.984 kB / 0.7434 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4681, allocations: 3.938 kB / 0.7434 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.4681, allocations: 4 kB / 0.7435 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4681, allocations: 0 / 0.7435 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4681, allocations: 0 / 0.7435 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.432e-05/0.4682, allocations: 77.91 kB / 0.7435 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.4682, allocations: 88.97 kB / 0.7436 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4682, allocations: 4 kB / 0.7436 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.4683, allocations: 4 kB / 0.7436 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.4683, allocations: 0 / 0.7436 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4683, allocations: 0 / 0.7436 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.4684, allocations: 91.3 kB / 0.7437 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4684, allocations: 0 / 0.7437 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001956/0.4686, allocations: 8 kB / 0.7437 GB, free: 7.695 MB / 0.5762 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.0001172/0.4687, allocations: 101.4 kB / 0.7438 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.4688, allocations: 15.94 kB / 0.7438 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4688, allocations: 0 / 0.7438 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.4688, allocations: 12.17 kB / 0.7438 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.4691, allocations: 9.969 kB / 0.7438 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.4693, allocations: 127.3 kB / 0.744 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.4695, allocations: 0.6768 MB / 0.7446 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.4696, allocations: 8.125 kB / 0.7446 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.4696, allocations: 7.438 kB / 0.7446 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4696, allocations: 4 kB / 0.7446 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.00257/0.4722, allocations: 0.5708 MB / 0.7452 GB, free: 6.121 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)