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.7526/0.7526, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001037/0.001037, allocations: 192.2 kB / 164.6 MB, free: 11.6 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.561/1.561, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.000761/0.0007608, allocations: 90.45 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.37e-05, allocations: 0 / 0.5466 GB, free: 95.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.3/10.44, allocations: 4.565 GB / 5.187 GB, free: 199.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/10.44, allocations: 79.95 kB / 5.187 GB, free: 199.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08078/10.52, allocations: 44.85 MB / 5.231 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.933e-06/10.52, allocations: 0 / 5.231 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.073e-06/10.52, allocations: 0 / 5.231 GB, free: 154.2 MB / 0.6511 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/10.52, allocations: 334.4 kB / 5.231 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/10.52, allocations: 12.02 kB / 5.231 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/10.52, allocations: 23.92 kB / 5.231 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/10.52, allocations: 159.1 kB / 5.231 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/10.52, allocations: 33.66 kB / 5.231 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/10.52, allocations: 0 / 5.231 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.202e-05/10.52, allocations: 19.98 kB / 5.231 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.064e-05/10.52, allocations: 41.69 kB / 5.231 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/10.52, allocations: 0 / 5.231 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/10.52, allocations: 0 / 5.231 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/10.52, allocations: 11.88 kB / 5.231 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/10.52, allocations: 233.5 kB / 5.231 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/10.52, allocations: 18.58 kB / 5.232 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/10.52, allocations: 4.859 kB / 5.232 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/10.52, allocations: 0 / 5.232 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/10.52, allocations: 38.62 kB / 5.232 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/10.52, allocations: 4 kB / 5.232 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/10.52, allocations: 37.55 kB / 5.232 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/10.52, allocations: 51.41 kB / 5.232 GB, free: 153 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/10.52, allocations: 96.98 kB / 5.232 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/10.52, allocations: 25.7 kB / 5.232 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/10.52, allocations: 88.05 kB / 5.232 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-06/10.52, allocations: 3.906 kB / 5.232 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/10.52, allocations: 4.031 kB / 5.232 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/10.52, allocations: 315.2 kB / 5.232 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/10.52, allocations: 4 kB / 5.232 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/10.52, allocations: 22.56 kB / 5.232 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/10.52, allocations: 4 kB / 5.232 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/10.52, allocations: 3.953 kB / 5.232 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.596e-05/10.52, allocations: 57.62 kB / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/10.52, allocations: 4 kB / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/10.52, allocations: 0 / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/10.52, allocations: 4 kB / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/10.52, allocations: 4.281 kB / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/10.52, allocations: 0 / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/10.52, allocations: 7.938 kB / 5.232 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/10.52, allocations: 0 / 5.232 GB, free: 152.3 MB / 0.6511 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 () * 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 5.081e-05/10.52, allocations: 113 kB / 5.232 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/10.52, allocations: 7.953 kB / 5.232 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/10.52, allocations: 11.73 kB / 5.232 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/10.52, allocations: 0 / 5.232 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/10.52, allocations: 0 / 5.232 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/10.52, allocations: 0 / 5.232 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/10.52, allocations: 319.3 kB / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/10.52, allocations: 7.938 kB / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/10.52, allocations: 7.938 kB / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/10.52, allocations: 4.031 kB / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/10.52, allocations: 0 / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/10.52, allocations: 0 / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/10.52, allocations: 3.984 kB / 5.233 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.074e-05/10.52, allocations: 68.94 kB / 5.233 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/10.52, allocations: 77.11 kB / 5.233 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/10.52, allocations: 0 / 5.233 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/10.52, allocations: 8.016 kB / 5.233 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/10.52, allocations: 4 kB / 5.233 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/10.52, allocations: 0 / 5.233 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.687e-05/10.52, allocations: 87.28 kB / 5.233 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/10.52, allocations: 0 / 5.233 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000257/10.52, allocations: 27.98 kB / 5.233 GB, free: 151.5 MB / 0.6511 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 () * 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 0.0007382/10.52, allocations: 0.6562 MB / 5.234 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/10.52, allocations: 11.94 kB / 5.234 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/10.52, allocations: 0 / 5.234 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/10.52, allocations: 0 / 5.234 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/10.52, allocations: 12.97 kB / 5.234 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001627/10.52, allocations: 56.69 kB / 5.234 GB, free: 150.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/10.52, allocations: 0.6768 MB / 5.234 GB, free: 150 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.913e-05/10.52, allocations: 7.984 kB / 5.234 GB, free: 150 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/10.52, allocations: 7.438 kB / 5.234 GB, free: 150 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/10.52, allocations: 0 / 5.234 GB, free: 150 MB / 0.6511 GB Notification: Performance of Templates: time 0.006238/10.53, allocations: 3.739 MB / 5.238 GB, free: 146.3 MB / 0.6511 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)