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.0009362/0.0009361, allocations: 96.27 kB / 15.69 MB, free: 480 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.001039/0.001039, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.305/1.305, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6794/0.6794, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4026/0.5391, allocations: 124.9 MB / 0.6788 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.5394, allocations: 127.7 kB / 0.6789 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.5394, allocations: 0 / 0.6789 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.882e-05/0.5395, allocations: 11.88 kB / 0.6789 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.383e-05/0.5395, allocations: 7.984 kB / 0.6789 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.5399, allocations: 79.67 kB / 0.679 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.54, allocations: 23.95 kB / 0.679 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.54, allocations: 0 / 0.679 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.54, allocations: 8 kB / 0.679 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.5401, allocations: 15.92 kB / 0.6791 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.5401, allocations: 4 kB / 0.6791 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.5403, allocations: 51.83 kB / 0.6791 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.5403, allocations: 15.92 kB / 0.6791 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.5404, allocations: 33.69 kB / 0.6792 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.498e-05/0.5405, allocations: 25.7 kB / 0.6792 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.5405, allocations: 0 / 0.6792 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5405, allocations: 0 / 0.6792 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5405, allocations: 4 kB / 0.6792 GB, free: 12.67 MB / 0.4981 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.0002941/0.5408, allocations: 327.7 kB / 0.6795 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.5408, allocations: 12.02 kB / 0.6795 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.5411, allocations: 20.61 kB / 0.6795 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.5412, allocations: 167.1 kB / 0.6797 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.5412, allocations: 29.66 kB / 0.6797 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.5413, allocations: 0 / 0.6797 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5414, allocations: 49.62 kB / 0.6798 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.5414, allocations: 0 / 0.6798 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5414, allocations: 0 / 0.6798 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.5414, allocations: 8 kB / 0.6798 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.5415, allocations: 15.98 kB / 0.6798 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.5418, allocations: 264.8 kB / 0.68 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.5419, allocations: 18.58 kB / 0.6801 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.5419, allocations: 0 / 0.6801 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5419, allocations: 42.5 kB / 0.6801 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.542, allocations: 0 / 0.6801 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.5421, allocations: 33.75 kB / 0.6801 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.5421, allocations: 55.41 kB / 0.6802 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.5422, allocations: 105.8 kB / 0.6803 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.5422, allocations: 25.7 kB / 0.6803 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.5423, allocations: 91.89 kB / 0.6804 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.5423, allocations: 8.062 kB / 0.6804 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.5423, allocations: 4 kB / 0.6804 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.5424, allocations: 318.8 kB / 0.6807 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.5424, allocations: 3.984 kB / 0.6807 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.5424, allocations: 30.52 kB / 0.6808 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.5424, allocations: 4 kB / 0.6808 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5425, allocations: 0 / 0.6808 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.5425, allocations: 57.62 kB / 0.6808 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5426, allocations: 4 kB / 0.6808 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5426, allocations: 0 / 0.6808 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5426, allocations: 4 kB / 0.6808 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.5427, allocations: 4 kB / 0.6808 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5427, allocations: 7.922 kB / 0.6808 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.5427, allocations: 8 kB / 0.6808 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.5427, allocations: 0 / 0.6808 GB, free: 10.76 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.5428, allocations: 117.9 kB / 0.6809 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.5428, allocations: 3.906 kB / 0.681 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.5428, allocations: 7.125 kB / 0.681 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5428, allocations: 96 / 0.681 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5429, allocations: 2.75 kB / 0.681 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5429, allocations: 7.922 kB / 0.681 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.5431, allocations: 350.7 kB / 0.6813 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5431, allocations: 0 / 0.6813 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.5431, allocations: 4.031 kB / 0.6813 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5431, allocations: 0 / 0.6813 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.5431, allocations: 4 kB / 0.6813 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5432, allocations: 0 / 0.6813 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5432, allocations: 0 / 0.6813 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.741e-05/0.5432, allocations: 61.02 kB / 0.6814 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.5433, allocations: 81.11 kB / 0.6814 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5433, allocations: 32 / 0.6814 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.5434, allocations: 12 kB / 0.6815 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.5434, allocations: 0 / 0.6815 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.5434, allocations: 0 / 0.6815 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.5434, allocations: 83.27 kB / 0.6815 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.403e-06/0.5435, allocations: 0 / 0.6815 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001891/0.5436, allocations: 11.94 kB / 0.6815 GB, free: 9.922 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.378e-05/0.5437, allocations: 99.94 kB / 0.6816 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.004e-05/0.5438, allocations: 15.94 kB / 0.6817 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5438, allocations: 0 / 0.6817 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.5438, allocations: 7.984 kB / 0.6817 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.544, allocations: 3.953 kB / 0.6817 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.5442, allocations: 117.1 kB / 0.6818 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.5444, allocations: 0.6889 MB / 0.6825 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.273e-05/0.5444, allocations: 4 kB / 0.6825 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.5445, allocations: 7.438 kB / 0.6825 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5445, allocations: 0 / 0.6825 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.002173/0.5466, allocations: 475.8 kB / 0.6829 GB, free: 8.48 MB / 0.4981 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)