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.001065/0.001065, allocations: 104.9 kB / 15.98 MB, free: 6.348 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.001019/0.00102, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.8335/0.8335, allocations: 143.1 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3279, allocations: 82.03 MB / 0.5944 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1412/0.4691, allocations: 145.8 MB / 0.7368 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.4693, allocations: 55.86 kB / 0.7368 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.4694, allocations: 0 / 0.7368 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.4695, allocations: 3.938 kB / 0.7368 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.4696, allocations: 11.97 kB / 0.7369 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.4701, allocations: 99.67 kB / 0.7369 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.4702, allocations: 31.91 kB / 0.737 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.4703, allocations: 0 / 0.737 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.4703, allocations: 27.86 kB / 0.737 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.4704, allocations: 11.98 kB / 0.737 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.4704, allocations: 0 / 0.737 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.4707, allocations: 79.77 kB / 0.7371 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.4708, allocations: 8 kB / 0.7371 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.4708, allocations: 11.92 kB / 0.7371 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.471, allocations: 50.05 kB / 0.7372 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.471, allocations: 4 kB / 0.7372 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.471, allocations: 0 / 0.7372 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.471, allocations: 0 / 0.7372 GB, free: 13.91 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.0004472/0.4715, allocations: 343.5 kB / 0.7375 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4715, allocations: 8.031 kB / 0.7375 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.4718, allocations: 20.83 kB / 0.7375 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4719, allocations: 164.4 kB / 0.7377 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.472, allocations: 33.64 kB / 0.7377 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.472, allocations: 4 kB / 0.7377 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.4722, allocations: 45.62 kB / 0.7378 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4722, allocations: 4 kB / 0.7378 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4722, allocations: 0 / 0.7378 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4723, allocations: 3.938 kB / 0.7378 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.039e-05/0.4723, allocations: 19.98 kB / 0.7378 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.4727, allocations: 268.8 kB / 0.738 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.4728, allocations: 14.58 kB / 0.738 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.4728, allocations: 8.922 kB / 0.7381 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.4728, allocations: 0 / 0.7381 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.4729, allocations: 34.55 kB / 0.7381 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4729, allocations: 0 / 0.7381 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.473, allocations: 45.55 kB / 0.7381 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4731, allocations: 59.34 kB / 0.7382 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.4732, allocations: 105.8 kB / 0.7383 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4732, allocations: 25.7 kB / 0.7383 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.4733, allocations: 87.98 kB / 0.7384 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.4733, allocations: 0 / 0.7384 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.4733, allocations: 21.62 kB / 0.7384 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.4734, allocations: 315 kB / 0.7387 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.4734, allocations: 12 kB / 0.7387 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.4735, allocations: 18.58 kB / 0.7388 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/0.4735, allocations: 34.5 kB / 0.7388 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4735, allocations: 4 kB / 0.7388 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.588e-05/0.4736, allocations: 57.62 kB / 0.7388 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4737, allocations: 4 kB / 0.7388 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4737, allocations: 0 / 0.7388 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4737, allocations: 0 / 0.7388 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.4737, allocations: 8 kB / 0.7389 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4738, allocations: 3.938 kB / 0.7389 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.4738, allocations: 4 kB / 0.7389 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.4738, allocations: 256 / 0.7389 GB, free: 11.93 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 9.538e-05/0.4739, allocations: 121.9 kB / 0.739 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.474, allocations: 0 / 0.739 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.474, allocations: 7.109 kB / 0.739 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.474, allocations: 3.938 kB / 0.739 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.474, allocations: 7.938 kB / 0.739 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.474, allocations: 4.094 kB / 0.739 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.4743, allocations: 342.8 kB / 0.7393 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4743, allocations: 0 / 0.7393 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.4743, allocations: 0 / 0.7393 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4743, allocations: 7.969 kB / 0.7393 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.4743, allocations: 0 / 0.7393 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4743, allocations: 0 / 0.7393 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4744, allocations: 7.984 kB / 0.7393 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.603e-05/0.4744, allocations: 60.98 kB / 0.7394 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.4745, allocations: 84.98 kB / 0.7395 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4745, allocations: 4 kB / 0.7395 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.4746, allocations: 8.016 kB / 0.7395 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-06/0.4746, allocations: 0 / 0.7395 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4746, allocations: 4 kB / 0.7395 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.4747, allocations: 83.28 kB / 0.7396 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4747, allocations: 0 / 0.7396 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001935/0.4749, allocations: 4 kB / 0.7396 GB, free: 11.09 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 9.88e-05/0.475, allocations: 103.2 kB / 0.7397 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.993e-05/0.4751, allocations: 19.94 kB / 0.7397 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4751, allocations: 0 / 0.7397 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.4751, allocations: 4 kB / 0.7397 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.4753, allocations: 2.438 kB / 0.7397 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.4756, allocations: 146.1 kB / 0.7398 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4759, allocations: 0.6768 MB / 0.7405 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.4759, allocations: 7.688 kB / 0.7405 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.4759, allocations: 4 kB / 0.7405 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.002026/0.4779, allocations: 0.5686 MB / 0.7411 GB, free: 9.504 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)