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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.659/0.659, allocations: 117.9 MB / 133.9 MB, free: 9.211 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.0009271/0.0009273, allocations: 172.6 kB / 161.7 MB, free: 13.98 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.673/1.673, allocations: 205.4 MB / 394.8 MB, free: 10.09 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.0007919/0.0007918, allocations: 89.58 kB / 470.1 MB, free: 29.04 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.00052, allocations: 12 kB / 0.5423 GB, free: 9.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 74.54 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.15/11.33, allocations: 4.565 GB / 5.18 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/11.33, allocations: 88.44 kB / 5.18 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.4478/11.78, allocations: 45.69 MB / 5.225 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.08e-06/11.78, allocations: 0 / 5.225 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.105e-05/11.78, allocations: 0 / 5.225 GB, free: 192.1 MB / 0.6355 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.000462/11.78, allocations: 332.6 kB / 5.225 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/11.78, allocations: 9.375 kB / 5.225 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/11.78, allocations: 17.61 kB / 5.225 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/11.78, allocations: 179.4 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/11.78, allocations: 29.23 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/11.78, allocations: 384 / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/11.78, allocations: 46.39 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/11.78, allocations: 3.938 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/11.78, allocations: 7.938 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/11.78, allocations: 3.031 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/11.78, allocations: 16.64 kB / 5.225 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/11.78, allocations: 262.5 kB / 5.226 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.056e-05/11.78, allocations: 33.17 kB / 5.226 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/11.78, allocations: 4.859 kB / 5.226 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/11.78, allocations: 0 / 5.226 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/11.78, allocations: 33.66 kB / 5.226 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/11.78, allocations: 4 kB / 5.226 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001971/11.78, allocations: 32.45 kB / 5.226 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/11.78, allocations: 55.34 kB / 5.226 GB, free: 191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/11.78, allocations: 103.4 kB / 5.226 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/11.78, allocations: 25.7 kB / 5.226 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/11.78, allocations: 95.95 kB / 5.226 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/11.78, allocations: 3.375 kB / 5.226 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/11.78, allocations: 0.6562 kB / 5.226 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/11.78, allocations: 318.9 kB / 5.226 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/11.78, allocations: 3.125 kB / 5.226 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/11.79, allocations: 28.36 kB / 5.226 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/11.79, allocations: 28.64 kB / 5.226 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/11.79, allocations: 0 / 5.226 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/11.79, allocations: 56.62 kB / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/11.79, allocations: 7.5 kB / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/11.79, allocations: 0 / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/11.79, allocations: 3.344 kB / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/11.79, allocations: 3.312 kB / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/11.79, allocations: 6.516 kB / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/11.79, allocations: 3.906 kB / 5.227 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/11.79, allocations: 3.188 kB / 5.227 GB, free: 190.3 MB / 0.6355 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 0.0001032/11.79, allocations: 125 kB / 5.227 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/11.79, allocations: 0 / 5.227 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/11.79, allocations: 3.125 kB / 5.227 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/11.79, allocations: 0 / 5.227 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/11.79, allocations: 3.281 kB / 5.227 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/11.79, allocations: 4 kB / 5.227 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/11.79, allocations: 352.1 kB / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/11.79, allocations: 0 / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/11.79, allocations: 7.094 kB / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/11.79, allocations: 3.938 kB / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/11.79, allocations: 0 / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/11.79, allocations: 0 / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/11.79, allocations: 0 / 5.227 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.028e-05/11.79, allocations: 69.92 kB / 5.227 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/11.79, allocations: 77.11 kB / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/11.79, allocations: 0 / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/11.79, allocations: 10.55 kB / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/11.79, allocations: 3.938 kB / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/11.79, allocations: 0 / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.727e-05/11.79, allocations: 82.38 kB / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/11.79, allocations: 0 / 5.227 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004763/11.79, allocations: 41.31 kB / 5.227 GB, free: 189.5 MB / 0.6355 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 0.001067/11.79, allocations: 0.561 MB / 5.228 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.701e-05/11.79, allocations: 17.2 kB / 5.228 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/11.79, allocations: 0 / 5.228 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/11.79, allocations: 4 kB / 5.228 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/11.79, allocations: 7.281 kB / 5.228 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/11.79, allocations: 119.3 kB / 5.228 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/11.79, allocations: 0.6723 MB / 5.229 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.562e-05/11.79, allocations: 10.14 kB / 5.229 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/11.79, allocations: 11.44 kB / 5.229 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/11.79, allocations: 3.938 kB / 5.229 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.01182/11.8, allocations: 7.93 MB / 5.236 GB, free: 187.7 MB / 0.6355 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)