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.7608/0.7608, allocations: 127.4 MB / 134.9 MB, free: 3.488 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.001097/0.001097, allocations: 178.5 kB / 164.6 MB, free: 11.61 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.46/1.46, 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.0008958/0.0008957, allocations: 96.12 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.721e-05/1.723e-05, allocations: 4.906 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.16, allocations: 76.75 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.71/10.87, allocations: 4.566 GB / 5.187 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/10.87, allocations: 87.06 kB / 5.187 GB, free: 80.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06841/10.94, allocations: 36.21 MB / 5.223 GB, free: 51.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/10.94, allocations: 0 / 5.223 GB, free: 51.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.695e-06/10.94, allocations: 4 kB / 5.223 GB, free: 51.04 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.0002885/10.94, allocations: 338.4 kB / 5.223 GB, free: 50.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/10.94, allocations: 12.03 kB / 5.223 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/10.94, allocations: 15.98 kB / 5.223 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/10.94, allocations: 159.1 kB / 5.223 GB, free: 50.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/10.94, allocations: 4 kB / 5.223 GB, free: 50.44 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/10.94, allocations: 7.953 kB / 5.223 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.794e-05/10.94, allocations: 20.67 kB / 5.223 GB, free: 50.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/10.94, allocations: 45.69 kB / 5.223 GB, free: 50.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/10.94, allocations: 0 / 5.223 GB, free: 50.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/10.94, allocations: 0 / 5.223 GB, free: 50.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/10.94, allocations: 0 / 5.223 GB, free: 50.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/10.94, allocations: 146.1 kB / 5.223 GB, free: 50.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/10.94, allocations: 42.55 kB / 5.223 GB, free: 50.13 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/10.94, allocations: 16.86 kB / 5.223 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/10.94, allocations: 7.875 kB / 5.223 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/10.94, allocations: 34.52 kB / 5.223 GB, free: 50.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.436e-06/10.94, allocations: 3.984 kB / 5.223 GB, free: 50.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0006026/10.94, allocations: 342.3 kB / 5.224 GB, free: 49.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/10.94, allocations: 55.41 kB / 5.224 GB, free: 49.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.72e-05/10.94, allocations: 85 kB / 5.224 GB, free: 49.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/10.94, allocations: 25.7 kB / 5.224 GB, free: 49.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.666e-05/10.94, allocations: 84.14 kB / 5.224 GB, free: 49.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/10.94, allocations: 39.36 kB / 5.224 GB, free: 49.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/10.94, allocations: 128 / 5.224 GB, free: 49.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/10.94, allocations: 326.8 kB / 5.224 GB, free: 49.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/10.94, allocations: 12 kB / 5.224 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/10.94, allocations: 33.7 kB / 5.224 GB, free: 48.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/10.94, allocations: 19.98 kB / 5.224 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/10.94, allocations: 0 / 5.224 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001033/10.94, allocations: 85.61 kB / 5.225 GB, free: 48.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/10.94, allocations: 7.953 kB / 5.225 GB, free: 48.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/10.94, allocations: 0 / 5.225 GB, free: 48.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/10.94, allocations: 8 kB / 5.225 GB, free: 48.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/10.94, allocations: 23.92 kB / 5.225 GB, free: 48.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/10.94, allocations: 4 kB / 5.225 GB, free: 48.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/10.94, allocations: 0 / 5.225 GB, free: 48.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/10.94, allocations: 0 / 5.225 GB, free: 48.83 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 5.41e-05/10.94, allocations: 108.9 kB / 5.225 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/10.94, allocations: 7.906 kB / 5.225 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/10.94, allocations: 12.36 kB / 5.225 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/10.94, allocations: 0 / 5.225 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/10.94, allocations: 4 kB / 5.225 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/10.94, allocations: 0 / 5.225 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.223e-05/10.94, allocations: 150.2 kB / 5.225 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/10.94, allocations: 0 / 5.225 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/10.94, allocations: 20 kB / 5.225 GB, free: 48.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/10.94, allocations: 3.984 kB / 5.225 GB, free: 48.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/10.94, allocations: 0 / 5.225 GB, free: 48.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/10.94, allocations: 0 / 5.225 GB, free: 48.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/10.94, allocations: 7.953 kB / 5.225 GB, free: 48.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/10.94, allocations: 121 kB / 5.225 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/10.94, allocations: 89.05 kB / 5.225 GB, free: 48.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/10.94, allocations: 0 / 5.225 GB, free: 48.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/10.94, allocations: 8 kB / 5.225 GB, free: 48.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/10.94, allocations: 11.94 kB / 5.225 GB, free: 48.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/10.94, allocations: 0 / 5.225 GB, free: 48.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 1.731e-05/10.94, allocations: 83.22 kB / 5.225 GB, free: 48.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/10.94, allocations: 0 / 5.225 GB, free: 48.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002743/10.94, allocations: 40.08 kB / 5.225 GB, free: 48.1 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.000693/10.94, allocations: 0.655 MB / 5.226 GB, free: 47.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001108/10.94, allocations: 55.92 kB / 5.226 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/10.94, allocations: 0 / 5.226 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/10.94, allocations: 23.94 kB / 5.226 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/10.94, allocations: 8.75 kB / 5.226 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/10.94, allocations: 268.8 kB / 5.226 GB, free: 47.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/10.94, allocations: 0.6924 MB / 5.227 GB, free: 46.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.889e-05/10.94, allocations: 12.66 kB / 5.227 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/10.94, allocations: 11.44 kB / 5.227 GB, free: 46.32 MB / 0.6511 GB Notification: Performance of SimCode: time 3.2e-07/10.94, allocations: 0 / 5.227 GB, free: 46.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.007033/10.95, allocations: 3.905 MB / 5.231 GB, free: 42.42 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)