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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7102/0.7102, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 187.7 kB / 174.2 MB, free: 5.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205 MB / 408.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000942/0.000942, allocations: 105.9 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009821/0.0009821, allocations: 58.44 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1298, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4175/0.5473, allocations: 145.6 MB / 0.7739 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.5475, allocations: 56.73 kB / 0.7739 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.5475, allocations: 0 / 0.7739 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.975e-05/0.5476, allocations: 2.094 kB / 0.7739 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.5477, allocations: 12.17 kB / 0.7739 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.5481, allocations: 86.11 kB / 0.774 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.5481, allocations: 55.02 kB / 0.7741 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 2.982e-05/0.5482, allocations: 3.656 kB / 0.7741 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.5482, allocations: 14.19 kB / 0.7741 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.5483, allocations: 17.98 kB / 0.7741 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.5483, allocations: 0 / 0.7741 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.5485, allocations: 82.16 kB / 0.7742 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.5486, allocations: 9.062 kB / 0.7742 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.5486, allocations: 12.64 kB / 0.7742 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.5487, allocations: 67.45 kB / 0.7743 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5487, allocations: 3.875 kB / 0.7743 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.12e-07/0.5487, allocations: 0 / 0.7743 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.5487, allocations: 0 / 0.7743 GB, free: 14.1 MB / 0.5261 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.0003534/0.5491, allocations: 335.4 kB / 0.7746 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.5491, allocations: 9.594 kB / 0.7746 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.5493, allocations: 22.23 kB / 0.7746 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.5494, allocations: 167.2 kB / 0.7748 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.5495, allocations: 32.39 kB / 0.7748 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.5495, allocations: 0 / 0.7748 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.5497, allocations: 47.14 kB / 0.7748 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.5497, allocations: 4 kB / 0.7748 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.5497, allocations: 2.094 kB / 0.7748 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5497, allocations: 2.875 kB / 0.7748 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.5498, allocations: 19.28 kB / 0.7749 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.5501, allocations: 259.9 kB / 0.7751 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.5501, allocations: 21.67 kB / 0.7751 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.5502, allocations: 8.859 kB / 0.7751 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.5502, allocations: 0 / 0.7751 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.5502, allocations: 35.97 kB / 0.7752 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5502, allocations: 3.938 kB / 0.7752 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.5503, allocations: 34.23 kB / 0.7752 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5504, allocations: 55.34 kB / 0.7753 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.5504, allocations: 110.9 kB / 0.7754 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5504, allocations: 29.83 kB / 0.7754 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.5505, allocations: 90.45 kB / 0.7755 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.5505, allocations: 3.906 kB / 0.7755 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.5505, allocations: 17.91 kB / 0.7755 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.5506, allocations: 313.4 kB / 0.7758 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.5507, allocations: 6.719 kB / 0.7758 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.5507, allocations: 21.75 kB / 0.7758 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.5507, allocations: 37.09 kB / 0.7759 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5507, allocations: 0 / 0.7759 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.879e-05/0.5508, allocations: 54.08 kB / 0.7759 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.5508, allocations: 6.125 kB / 0.7759 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5508, allocations: 0 / 0.7759 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5509, allocations: 6.625 kB / 0.7759 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.5509, allocations: 4.312 kB / 0.7759 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5509, allocations: 9.406 kB / 0.7759 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.551, allocations: 0 / 0.7759 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.551, allocations: 3.031 kB / 0.7759 GB, free: 12.37 MB / 0.5261 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.641e-05/0.551, allocations: 111.8 kB / 0.7761 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.5511, allocations: 3.906 kB / 0.7761 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.5511, allocations: 12.16 kB / 0.7761 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.5511, allocations: 1.203 kB / 0.7761 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5511, allocations: 7.938 kB / 0.7761 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5511, allocations: 0 / 0.7761 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.5513, allocations: 343.1 kB / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5513, allocations: 0 / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.5514, allocations: 2.594 kB / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5514, allocations: 3.938 kB / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.5514, allocations: 2.594 kB / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.5514, allocations: 0 / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5514, allocations: 2.969 kB / 0.7764 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.5516, allocations: 0.6051 MB / 0.777 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.5517, allocations: 82.45 kB / 0.7771 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.5517, allocations: 0 / 0.7771 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.5518, allocations: 3.844 kB / 0.7771 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.5518, allocations: 0 / 0.7771 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5518, allocations: 6.234 kB / 0.7771 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.5518, allocations: 84.16 kB / 0.7772 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5518, allocations: 0 / 0.7772 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002692/0.5521, allocations: 8.875 kB / 0.7772 GB, free: 11.04 MB / 0.5261 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 7.359e-05/0.5522, allocations: 103.2 kB / 0.7773 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.628e-05/0.5523, allocations: 17.88 kB / 0.7773 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5523, allocations: 1.203 kB / 0.7773 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.5523, allocations: 7.219 kB / 0.7773 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.5525, allocations: 5.297 kB / 0.7773 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.5527, allocations: 216.8 kB / 0.7775 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5529, allocations: 0.6773 MB / 0.7782 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.553, allocations: 7.391 kB / 0.7782 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.553, allocations: 9.625 kB / 0.7782 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of SimCode: time 2.01e-07/0.553, allocations: 0 / 0.7782 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.0018/0.5548, allocations: 455.1 kB / 0.7786 GB, free: 9.996 MB / 0.5261 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)