Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001167/0.001167, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001177/0.001177, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7096/0.7096, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.88 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 76.18 MB / 0.6327 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5199/0.6653, allocations: 147.8 MB / 0.7771 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.6654, allocations: 56.11 kB / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.6655, allocations: 0 / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.6656, allocations: 6.203 kB / 0.7772 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.6657, allocations: 16.72 kB / 0.7772 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.6662, allocations: 108.2 kB / 0.7773 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.6663, allocations: 32.08 kB / 0.7773 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.6663, allocations: 3.938 kB / 0.7773 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.6663, allocations: 18.45 kB / 0.7773 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.6664, allocations: 15.39 kB / 0.7773 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.6664, allocations: 2.641 kB / 0.7773 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.6667, allocations: 82.16 kB / 0.7774 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.6667, allocations: 9.891 kB / 0.7774 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.6668, allocations: 11.39 kB / 0.7774 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.667, allocations: 74.86 kB / 0.7775 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.667, allocations: 0 / 0.7775 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.667, allocations: 0 / 0.7775 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.667, allocations: 0 / 0.7775 GB, free: 14.83 MB / 0.5919 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.0004042/0.6674, allocations: 335.1 kB / 0.7778 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6674, allocations: 13.06 kB / 0.7778 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.6677, allocations: 20.67 kB / 0.7779 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6678, allocations: 168.6 kB / 0.778 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.6679, allocations: 33.86 kB / 0.7781 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.6679, allocations: 1.094 kB / 0.7781 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.668, allocations: 48.03 kB / 0.7781 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.668, allocations: 0.8125 kB / 0.7781 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6681, allocations: 4 kB / 0.7781 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.6681, allocations: 4.469 kB / 0.7781 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.6682, allocations: 16.56 kB / 0.7781 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.6686, allocations: 254.9 kB / 0.7784 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.6686, allocations: 20.02 kB / 0.7784 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.6687, allocations: 15.88 kB / 0.7784 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.6687, allocations: 3.141 kB / 0.7784 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6687, allocations: 31.66 kB / 0.7784 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6687, allocations: 0 / 0.7784 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.6689, allocations: 31.3 kB / 0.7785 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.6689, allocations: 52 kB / 0.7785 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.669, allocations: 117.2 kB / 0.7786 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.669, allocations: 29.83 kB / 0.7787 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.6691, allocations: 92.95 kB / 0.7787 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-06/0.6691, allocations: 4.109 kB / 0.7788 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.6691, allocations: 18.09 kB / 0.7788 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6692, allocations: 312.1 kB / 0.7791 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.6693, allocations: 16.28 kB / 0.7791 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.6693, allocations: 25.98 kB / 0.7791 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.6694, allocations: 30.3 kB / 0.7791 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6694, allocations: 0 / 0.7791 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.803e-05/0.6695, allocations: 61.28 kB / 0.7792 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6695, allocations: 5.156 kB / 0.7792 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6695, allocations: 1.125 kB / 0.7792 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6695, allocations: 4.969 kB / 0.7792 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.6696, allocations: 11.05 kB / 0.7792 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6696, allocations: 7.703 kB / 0.7792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.6696, allocations: 1.906 kB / 0.7792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.6697, allocations: 1.812 kB / 0.7792 GB, free: 13.09 MB / 0.5919 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.907e-05/0.6697, allocations: 108.3 kB / 0.7793 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.6698, allocations: 1.812 kB / 0.7793 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.6698, allocations: 7.031 kB / 0.7793 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6698, allocations: 2.281 kB / 0.7793 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6698, allocations: 4.469 kB / 0.7793 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6698, allocations: 4.656 kB / 0.7794 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.6701, allocations: 343.9 kB / 0.7797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.6701, allocations: 1.656 kB / 0.7797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.6701, allocations: 3.844 kB / 0.7797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6701, allocations: 4.531 kB / 0.7797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6701, allocations: 4.547 kB / 0.7797 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.6701, allocations: 0 / 0.7797 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6701, allocations: 0.5312 kB / 0.7797 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.698e-05/0.6702, allocations: 65.89 kB / 0.7798 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.6703, allocations: 77.61 kB / 0.7798 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.6703, allocations: 5.125 kB / 0.7798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.6704, allocations: 8.078 kB / 0.7798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.6704, allocations: 1.656 kB / 0.7798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6704, allocations: 0.5312 kB / 0.7798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.6705, allocations: 96.91 kB / 0.7799 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6705, allocations: 0 / 0.7799 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001969/0.6707, allocations: 6.562 kB / 0.7799 GB, free: 12.33 MB / 0.5919 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 0.000105/0.6708, allocations: 99.02 kB / 0.78 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.916e-05/0.6709, allocations: 12.28 kB / 0.78 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6709, allocations: 0.625 kB / 0.78 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.6709, allocations: 6.188 kB / 0.7801 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6712, allocations: 12.25 kB / 0.7801 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.6715, allocations: 137.7 kB / 0.7802 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.6717, allocations: 0.6748 MB / 0.7809 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.6717, allocations: 9.094 kB / 0.7809 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6717, allocations: 0.5938 kB / 0.7809 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.002038/0.6738, allocations: 0.5656 MB / 0.7814 GB, free: 11.38 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)