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.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.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") [/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.6132/0.6132, allocations: 117.9 MB / 133.9 MB, free: 4.527 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.0009144/0.0009143, allocations: 185.4 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.000755/0.000755, allocations: 90.28 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004091, allocations: 16 kB / 0.5423 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3807, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.85/11.23, allocations: 4.565 GB / 5.181 GB, free: 67.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/11.23, allocations: 83.95 kB / 5.181 GB, free: 66.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06916/11.3, allocations: 36.96 MB / 5.217 GB, free: 29.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.514e-06/11.3, allocations: 0 / 5.217 GB, free: 29.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.282e-06/11.3, allocations: 0 / 5.217 GB, free: 29.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003364/11.3, allocations: 363.3 kB / 5.217 GB, free: 29.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/11.3, allocations: 8.031 kB / 5.217 GB, free: 29.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/11.3, allocations: 12.92 kB / 5.217 GB, free: 29.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/11.3, allocations: 164.4 kB / 5.217 GB, free: 28.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/11.3, allocations: 4.375 kB / 5.217 GB, free: 28.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/11.3, allocations: 12.36 kB / 5.217 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/11.3, allocations: 58.17 kB / 5.217 GB, free: 28.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/11.3, allocations: 192 / 5.217 GB, free: 28.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/11.3, allocations: 3.938 kB / 5.217 GB, free: 28.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/11.3, allocations: 0 / 5.217 GB, free: 28.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/11.3, allocations: 23.97 kB / 5.217 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/11.3, allocations: 153.7 kB / 5.218 GB, free: 28.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/11.3, allocations: 58.5 kB / 5.218 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/11.3, allocations: 16.84 kB / 5.218 GB, free: 28.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/11.3, allocations: 0 / 5.218 GB, free: 28.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/11.3, allocations: 34.56 kB / 5.218 GB, free: 28.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/11.3, allocations: 0 / 5.218 GB, free: 28.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000666/11.3, allocations: 374.7 kB / 5.218 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/11.3, allocations: 59.41 kB / 5.218 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.464e-05/11.3, allocations: 97.84 kB / 5.218 GB, free: 27.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/11.3, allocations: 29.7 kB / 5.218 GB, free: 27.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/11.3, allocations: 80.14 kB / 5.218 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/11.3, allocations: 39.45 kB / 5.218 GB, free: 27.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/11.3, allocations: 0 / 5.218 GB, free: 27.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/11.3, allocations: 314.8 kB / 5.219 GB, free: 27.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/11.3, allocations: 19.98 kB / 5.219 GB, free: 27.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/11.3, allocations: 45.39 kB / 5.219 GB, free: 27.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.343e-05/11.3, allocations: 53.72 kB / 5.219 GB, free: 27.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/11.3, allocations: 0 / 5.219 GB, free: 27.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001191/11.3, allocations: 105.5 kB / 5.219 GB, free: 27.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/11.3, allocations: 7.984 kB / 5.219 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/11.3, allocations: 0 / 5.219 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/11.3, allocations: 0 / 5.219 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/11.3, allocations: 20 kB / 5.219 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/11.3, allocations: 0 / 5.219 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/11.3, allocations: 4 kB / 5.219 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/11.3, allocations: 4 kB / 5.219 GB, free: 27.14 MB / 0.6355 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 () * Number of clocked 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 7.415e-05/11.3, allocations: 125.8 kB / 5.219 GB, free: 27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/11.3, allocations: 7.938 kB / 5.219 GB, free: 27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/11.3, allocations: 7.969 kB / 5.219 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/11.3, allocations: 0 / 5.219 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/11.3, allocations: 0 / 5.219 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/11.3, allocations: 3.938 kB / 5.219 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/11.3, allocations: 173.6 kB / 5.219 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/11.3, allocations: 7.938 kB / 5.219 GB, free: 26.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/11.3, allocations: 23.98 kB / 5.219 GB, free: 26.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/11.3, allocations: 0 / 5.219 GB, free: 26.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/11.3, allocations: 7.938 kB / 5.219 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/11.3, allocations: 0 / 5.219 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/11.3, allocations: 0 / 5.219 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/11.31, allocations: 133 kB / 5.219 GB, free: 26.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/11.31, allocations: 96.98 kB / 5.219 GB, free: 26.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/11.31, allocations: 4 kB / 5.219 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/11.31, allocations: 4 kB / 5.219 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/11.31, allocations: 7.984 kB / 5.219 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/11.31, allocations: 4 kB / 5.219 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.084e-05/11.31, allocations: 75.28 kB / 5.219 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/11.31, allocations: 0 / 5.219 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003529/11.31, allocations: 55.98 kB / 5.22 GB, free: 26.32 MB / 0.6355 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 () * Number of clocked 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.000769/11.31, allocations: 0.5664 MB / 5.22 GB, free: 25.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001579/11.31, allocations: 47.92 kB / 5.22 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/11.31, allocations: 4 kB / 5.22 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/11.31, allocations: 35.92 kB / 5.22 GB, free: 25.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/11.31, allocations: 7.938 kB / 5.22 GB, free: 25.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/11.31, allocations: 386.3 kB / 5.221 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/11.31, allocations: 0.6887 MB / 5.221 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.659e-05/11.31, allocations: 8.672 kB / 5.221 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/11.31, allocations: 11.44 kB / 5.221 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of SimCode: time 2.11e-07/11.31, allocations: 3.938 kB / 5.221 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.01037/11.32, allocations: 8.077 MB / 5.229 GB, free: 16.43 MB / 0.6355 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)