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.001382/0.001382, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001818/0.001819, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6782/0.6782, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.84 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 76.18 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4823/0.6115, allocations: 147.8 MB / 0.7764 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.6117, allocations: 52.69 kB / 0.7765 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.6117, allocations: 1.094 kB / 0.7765 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.6119, allocations: 0 / 0.7765 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.612, allocations: 16.75 kB / 0.7765 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.6125, allocations: 108.9 kB / 0.7766 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.6126, allocations: 36.39 kB / 0.7766 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.6126, allocations: 1.312 kB / 0.7766 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.6127, allocations: 15.86 kB / 0.7767 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.6127, allocations: 17.66 kB / 0.7767 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.6128, allocations: 5.156 kB / 0.7767 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.613, allocations: 79.16 kB / 0.7768 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.6131, allocations: 11.88 kB / 0.7768 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.6131, allocations: 10.27 kB / 0.7768 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.6133, allocations: 76.64 kB / 0.7769 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6133, allocations: 0.5625 kB / 0.7769 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6133, allocations: 0 / 0.7769 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.6133, allocations: 2.984 kB / 0.7769 GB, free: 14.38 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.0004471/0.6138, allocations: 332.2 kB / 0.7772 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6138, allocations: 14.3 kB / 0.7772 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.6141, allocations: 21.39 kB / 0.7772 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.6142, allocations: 164.4 kB / 0.7774 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.6143, allocations: 30.8 kB / 0.7774 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.6143, allocations: 1.062 kB / 0.7774 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.6144, allocations: 50 kB / 0.7774 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6144, allocations: 3.938 kB / 0.7774 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6145, allocations: 7.312 kB / 0.7775 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.6145, allocations: 2.25 kB / 0.7775 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.541e-05/0.6145, allocations: 18.67 kB / 0.7775 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.6149, allocations: 254.1 kB / 0.7777 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.615, allocations: 18.61 kB / 0.7777 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.615, allocations: 9.984 kB / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-06/0.615, allocations: 0 / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.615, allocations: 39.03 kB / 0.7778 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.615, allocations: 0 / 0.7778 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.6152, allocations: 34.77 kB / 0.7778 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.6152, allocations: 51.41 kB / 0.7779 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.6153, allocations: 114.9 kB / 0.778 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.6153, allocations: 27.89 kB / 0.778 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.6154, allocations: 100.3 kB / 0.7781 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.6154, allocations: 1.094 kB / 0.7781 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.6154, allocations: 16.38 kB / 0.7781 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6156, allocations: 314.4 kB / 0.7784 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.6156, allocations: 3.438 kB / 0.7784 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.6156, allocations: 32.48 kB / 0.7784 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.6157, allocations: 32.48 kB / 0.7785 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6157, allocations: 0.5625 kB / 0.7785 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.884e-05/0.6158, allocations: 55.28 kB / 0.7785 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6158, allocations: 6.578 kB / 0.7785 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.6158, allocations: 1 kB / 0.7785 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6158, allocations: 1.031 kB / 0.7785 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.6159, allocations: 15.88 kB / 0.7786 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.6159, allocations: 4.969 kB / 0.7786 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.616, allocations: 4.938 kB / 0.7786 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.616, allocations: 2.594 kB / 0.7786 GB, free: 12.64 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 7.318e-05/0.6161, allocations: 110.9 kB / 0.7787 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.6161, allocations: 1.25 kB / 0.7787 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.6161, allocations: 4.125 kB / 0.7787 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6161, allocations: 0.5 kB / 0.7787 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6161, allocations: 5.734 kB / 0.7787 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.6161, allocations: 4 kB / 0.7787 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.6164, allocations: 350.3 kB / 0.779 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6164, allocations: 0.5938 kB / 0.779 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.6164, allocations: 1.656 kB / 0.779 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6164, allocations: 8.484 kB / 0.779 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.6165, allocations: 0 / 0.779 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6165, allocations: 0.5312 kB / 0.779 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6165, allocations: 0.6562 kB / 0.779 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.6165, allocations: 65.36 kB / 0.7791 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.6166, allocations: 80.55 kB / 0.7792 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.6166, allocations: 5.531 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.6167, allocations: 2.719 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.6167, allocations: 3.016 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6167, allocations: 3.312 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.6168, allocations: 83.44 kB / 0.7793 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6168, allocations: 4.031 kB / 0.7793 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001971/0.617, allocations: 6.719 kB / 0.7793 GB, free: 11.89 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.0001682/0.6172, allocations: 105.5 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.6173, allocations: 15.12 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.6173, allocations: 0.5625 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.6173, allocations: 3.266 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6175, allocations: 4.438 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.6178, allocations: 124.3 kB / 0.7795 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.6181, allocations: 0.6751 MB / 0.7802 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.934e-05/0.6182, allocations: 5.719 kB / 0.7802 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.6182, allocations: 9.125 kB / 0.7802 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6182, allocations: 0 / 0.7802 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.002452/0.6206, allocations: 0.5018 MB / 0.7807 GB, free: 10.93 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)