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.001345/0.001345, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.948/0.948, allocations: 143 MB / 433.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.5142 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1506, allocations: 82.02 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4138/0.5644, allocations: 145.6 MB / 0.7364 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.5646, allocations: 59.84 kB / 0.7365 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.5646, allocations: 0 / 0.7365 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.5648, allocations: 6.438 kB / 0.7365 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.5649, allocations: 9.875 kB / 0.7365 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.5654, allocations: 96.11 kB / 0.7366 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.5655, allocations: 58.55 kB / 0.7366 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.5656, allocations: 7.062 kB / 0.7367 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.5656, allocations: 14.09 kB / 0.7367 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.5657, allocations: 17.38 kB / 0.7367 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.5657, allocations: 1.125 kB / 0.7367 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.5661, allocations: 85.3 kB / 0.7368 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.5661, allocations: 8.594 kB / 0.7368 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.5662, allocations: 9.062 kB / 0.7368 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.5663, allocations: 48.86 kB / 0.7368 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5663, allocations: 0 / 0.7368 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5664, allocations: 0 / 0.7368 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5664, allocations: 5.062 kB / 0.7368 GB, free: 7.691 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.0004262/0.5668, allocations: 337.4 kB / 0.7372 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5668, allocations: 8.594 kB / 0.7372 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.5671, allocations: 17.73 kB / 0.7372 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5672, allocations: 165.6 kB / 0.7373 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.5673, allocations: 31.83 kB / 0.7374 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.5673, allocations: 9 kB / 0.7374 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5675, allocations: 47.52 kB / 0.7374 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5675, allocations: 0 / 0.7374 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5675, allocations: 1.094 kB / 0.7374 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5675, allocations: 1.125 kB / 0.7374 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.865e-05/0.5676, allocations: 20.45 kB / 0.7374 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.568, allocations: 266 kB / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.5681, allocations: 16.67 kB / 0.7377 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.5681, allocations: 6.016 kB / 0.7377 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.5681, allocations: 1.125 kB / 0.7377 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5681, allocations: 35.62 kB / 0.7378 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.5681, allocations: 0 / 0.7378 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.5683, allocations: 41.12 kB / 0.7378 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.5683, allocations: 57.34 kB / 0.7378 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.5684, allocations: 106.9 kB / 0.7379 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.5685, allocations: 27.11 kB / 0.738 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.5685, allocations: 96.38 kB / 0.7381 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.5685, allocations: 4 kB / 0.7381 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.5686, allocations: 19.31 kB / 0.7381 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5687, allocations: 319 kB / 0.7384 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.5687, allocations: 3 kB / 0.7384 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.5687, allocations: 34.45 kB / 0.7384 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.272e-05/0.5688, allocations: 29.08 kB / 0.7385 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5688, allocations: 1.75 kB / 0.7385 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.657e-05/0.5689, allocations: 53.64 kB / 0.7385 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5689, allocations: 8.938 kB / 0.7385 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5689, allocations: 1.25 kB / 0.7385 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.569, allocations: 1.125 kB / 0.7385 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.569, allocations: 9.797 kB / 0.7385 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.569, allocations: 5.406 kB / 0.7385 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.5691, allocations: 1.219 kB / 0.7385 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5691, allocations: 6.719 kB / 0.7385 GB, free: 5.906 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 7.554e-05/0.5692, allocations: 107 kB / 0.7386 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.5692, allocations: 2.438 kB / 0.7386 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.5692, allocations: 12.22 kB / 0.7387 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5692, allocations: 6.141 kB / 0.7387 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5692, allocations: 4.5 kB / 0.7387 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.5692, allocations: 1.219 kB / 0.7387 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.5695, allocations: 343.2 kB / 0.739 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5695, allocations: 0 / 0.739 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.5696, allocations: 6.562 kB / 0.739 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5696, allocations: 7.516 kB / 0.739 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.5696, allocations: 4.688 kB / 0.739 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5696, allocations: 0 / 0.739 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5696, allocations: 0 / 0.739 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.5697, allocations: 60.66 kB / 0.7391 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.5697, allocations: 77.11 kB / 0.7391 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5697, allocations: 3.938 kB / 0.7392 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.5698, allocations: 7 kB / 0.7392 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.5698, allocations: 8.688 kB / 0.7392 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.5698, allocations: 0 / 0.7392 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.5699, allocations: 83.72 kB / 0.7392 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5699, allocations: 0 / 0.7392 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001992/0.5701, allocations: 6.125 kB / 0.7393 GB, free: 5.137 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 (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.934e-05/0.5702, allocations: 96.53 kB / 0.7393 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.5703, allocations: 19.64 kB / 0.7394 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5703, allocations: 5.125 kB / 0.7394 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.5703, allocations: 2.938 kB / 0.7394 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5705, allocations: 2.75 kB / 0.7394 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.5708, allocations: 140.2 kB / 0.7395 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.5711, allocations: 0.6756 MB / 0.7402 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.5711, allocations: 8.688 kB / 0.7402 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.5711, allocations: 0 / 0.7402 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of Templates: time 0.001899/0.573, allocations: 0.5631 MB / 0.7407 GB, free: 4.172 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)