Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7119/0.7119, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 196.7 kB / 169.7 MB, free: 1.715 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.79/1.79, allocations: 205.1 MB / 404.5 MB, free: 1.641 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.001015/0.001015, allocations: 91.62 kB / 481.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.605e-05/4.607e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1655, allocations: 76.76 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.22/12.39, allocations: 4.566 GB / 5.194 GB, free: 190.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/12.39, allocations: 78.8 kB / 5.195 GB, free: 190.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06654/12.46, allocations: 36.86 MB / 5.231 GB, free: 183.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.774e-06/12.46, allocations: 0 / 5.231 GB, free: 183.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.122e-06/12.46, allocations: 0 / 5.231 GB, free: 183.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002624/12.46, allocations: 345.2 kB / 5.231 GB, free: 183.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/12.46, allocations: 15.72 kB / 5.231 GB, free: 183.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/12.46, allocations: 11.8 kB / 5.231 GB, free: 183.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/12.46, allocations: 159.1 kB / 5.231 GB, free: 183 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/12.46, allocations: 3.906 kB / 5.231 GB, free: 183 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/12.46, allocations: 12.42 kB / 5.231 GB, free: 183 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/12.46, allocations: 55.83 kB / 5.231 GB, free: 182.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/12.46, allocations: 0 / 5.231 GB, free: 182.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/12.46, allocations: 0 / 5.231 GB, free: 182.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/12.46, allocations: 0 / 5.231 GB, free: 182.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/12.46, allocations: 19.09 kB / 5.231 GB, free: 182.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/12.46, allocations: 168 kB / 5.231 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/12.46, allocations: 45.64 kB / 5.231 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/12.46, allocations: 12.77 kB / 5.231 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/12.46, allocations: 8.125 kB / 5.231 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/12.46, allocations: 33.81 kB / 5.231 GB, free: 182.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/12.46, allocations: 4 kB / 5.231 GB, free: 182.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0006122/12.46, allocations: 364.2 kB / 5.232 GB, free: 182.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/12.46, allocations: 51.41 kB / 5.232 GB, free: 182.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/12.46, allocations: 85 kB / 5.232 GB, free: 182.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/12.46, allocations: 41.47 kB / 5.232 GB, free: 182.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/12.46, allocations: 80.14 kB / 5.232 GB, free: 182.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/12.46, allocations: 38.72 kB / 5.232 GB, free: 182 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/12.46, allocations: 3.625 kB / 5.232 GB, free: 182 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/12.46, allocations: 314.8 kB / 5.232 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/12.46, allocations: 22.66 kB / 5.232 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/12.46, allocations: 28.62 kB / 5.232 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/12.46, allocations: 31.31 kB / 5.232 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/12.46, allocations: 0 / 5.232 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000103/12.46, allocations: 87.45 kB / 5.232 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/12.46, allocations: 7.25 kB / 5.233 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/12.46, allocations: 3.156 kB / 5.233 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/12.46, allocations: 0 / 5.233 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/12.46, allocations: 27.17 kB / 5.233 GB, free: 181.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/12.46, allocations: 0 / 5.233 GB, free: 181.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/12.46, allocations: 3.25 kB / 5.233 GB, free: 181.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/12.46, allocations: 3.219 kB / 5.233 GB, free: 181.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 4.354e-05/12.46, allocations: 107.7 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/12.46, allocations: 15.08 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/12.46, allocations: 22.94 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/12.46, allocations: 3.188 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/12.46, allocations: 0 / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/12.46, allocations: 3.938 kB / 5.233 GB, free: 181.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.994e-05/12.46, allocations: 173.9 kB / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/12.46, allocations: 0 / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/12.46, allocations: 23.06 kB / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/12.46, allocations: 3.953 kB / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/12.46, allocations: 0 / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/12.46, allocations: 3.25 kB / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/12.46, allocations: 3.984 kB / 5.233 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/12.46, allocations: 126.2 kB / 5.233 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/12.46, allocations: 88.23 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/12.46, allocations: 7.578 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/12.46, allocations: 3.219 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/12.46, allocations: 7.172 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/12.46, allocations: 6.531 kB / 5.233 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 1.574e-05/12.46, allocations: 83.22 kB / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/12.46, allocations: 0 / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003033/12.46, allocations: 51.08 kB / 5.233 GB, free: 181 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000564/12.46, allocations: 0.5747 MB / 5.234 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001056/12.46, allocations: 53.62 kB / 5.234 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/12.46, allocations: 3.984 kB / 5.234 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/12.46, allocations: 30.22 kB / 5.234 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/12.46, allocations: 0 / 5.234 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/12.46, allocations: 291.1 kB / 5.234 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/12.46, allocations: 0.6924 MB / 5.235 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.49e-05/12.46, allocations: 8.578 kB / 5.235 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/12.46, allocations: 15.33 kB / 5.235 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/12.46, allocations: 0 / 5.235 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.01102/12.47, allocations: 9.764 MB / 5.244 GB, free: 174.7 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)