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.001357/0.001357, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001538/0.001538, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 14.99 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.8306/0.8306, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.144/0.4529, allocations: 147.8 MB / 0.7401 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.4531, allocations: 51.84 kB / 0.7401 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.4531, allocations: 4 kB / 0.7401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.4532, allocations: 3.938 kB / 0.7401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.4533, allocations: 11.92 kB / 0.7401 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.4538, allocations: 107.6 kB / 0.7402 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.4539, allocations: 39.84 kB / 0.7403 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.4539, allocations: 0 / 0.7403 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.4539, allocations: 15.92 kB / 0.7403 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.454, allocations: 11.98 kB / 0.7403 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.454, allocations: 0 / 0.7403 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.4543, allocations: 91.7 kB / 0.7404 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.4543, allocations: 4 kB / 0.7404 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.4543, allocations: 15.92 kB / 0.7404 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.4545, allocations: 72.94 kB / 0.7405 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4545, allocations: 0 / 0.7405 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4545, allocations: 0 / 0.7405 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4545, allocations: 0 / 0.7405 GB, free: 11.41 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.000361/0.4549, allocations: 339.4 kB / 0.7408 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.4549, allocations: 8.031 kB / 0.7408 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.4552, allocations: 24.83 kB / 0.7408 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.4553, allocations: 164.3 kB / 0.741 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.4554, allocations: 33.64 kB / 0.741 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4554, allocations: 4 kB / 0.741 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.4555, allocations: 45.67 kB / 0.7411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.4556, allocations: 0 / 0.7411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4556, allocations: 0 / 0.7411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4556, allocations: 8 kB / 0.7411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.4556, allocations: 15.98 kB / 0.7411 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.456, allocations: 262.7 kB / 0.7413 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.4561, allocations: 18.58 kB / 0.7414 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.4561, allocations: 8.922 kB / 0.7414 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.4561, allocations: 4 kB / 0.7414 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4562, allocations: 34.55 kB / 0.7414 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.4562, allocations: 0 / 0.7414 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.4563, allocations: 41.48 kB / 0.7414 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4563, allocations: 59.34 kB / 0.7415 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.4564, allocations: 109.8 kB / 0.7416 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4564, allocations: 25.7 kB / 0.7416 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.4565, allocations: 100 kB / 0.7417 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.4565, allocations: 4 kB / 0.7417 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.4565, allocations: 21.62 kB / 0.7417 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.4566, allocations: 314.8 kB / 0.742 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.4567, allocations: 0 / 0.742 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.4567, allocations: 26.56 kB / 0.7421 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.4567, allocations: 38.52 kB / 0.7421 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4567, allocations: 0 / 0.7421 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.344e-05/0.4568, allocations: 53.62 kB / 0.7422 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4569, allocations: 4 kB / 0.7422 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4569, allocations: 0 / 0.7422 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4569, allocations: 4 kB / 0.7422 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.4569, allocations: 4 kB / 0.7422 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.457, allocations: 4.031 kB / 0.7422 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.457, allocations: 11.98 kB / 0.7422 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.457, allocations: 0 / 0.7422 GB, free: 9.41 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.342e-05/0.4571, allocations: 109.8 kB / 0.7423 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4571, allocations: 0 / 0.7423 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.4571, allocations: 7.125 kB / 0.7423 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4571, allocations: 0 / 0.7423 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4571, allocations: 7.938 kB / 0.7423 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4572, allocations: 3.938 kB / 0.7423 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.4574, allocations: 346.8 kB / 0.7426 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4574, allocations: 0 / 0.7426 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.4574, allocations: 0 / 0.7426 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4574, allocations: 3.938 kB / 0.7426 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.4574, allocations: 0 / 0.7426 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4574, allocations: 0 / 0.7426 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4575, allocations: 4 kB / 0.7426 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.071e-05/0.4575, allocations: 65.02 kB / 0.7427 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.4576, allocations: 89.03 kB / 0.7428 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4576, allocations: 0 / 0.7428 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4577, allocations: 0 / 0.7428 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-06/0.4577, allocations: 0 / 0.7428 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.4577, allocations: 4 kB / 0.7428 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.4577, allocations: 91.52 kB / 0.7429 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4577, allocations: 3.938 kB / 0.7429 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001868/0.4579, allocations: 4 kB / 0.7429 GB, free: 8.582 MB / 0.5762 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 8.681e-05/0.458, allocations: 107.2 kB / 0.743 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.893e-05/0.4581, allocations: 11.94 kB / 0.743 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4581, allocations: 0 / 0.743 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.4581, allocations: 7.984 kB / 0.743 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4583, allocations: 8.156 kB / 0.743 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.4585, allocations: 122.8 kB / 0.7431 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.4588, allocations: 0.6729 MB / 0.7438 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.4588, allocations: 7.984 kB / 0.7438 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.4589, allocations: 7.438 kB / 0.7438 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.4589, allocations: 0 / 0.7438 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of Templates: time 0.002257/0.4611, allocations: 0.5145 MB / 0.7443 GB, free: 7.117 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)