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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 98.69 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 83.4 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001172/0.1568, allocations: 0.986 MB / 0.5982 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.401/0.5578, allocations: 124.3 MB / 0.7196 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.5578, allocations: 0 / 0.7196 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.5579, allocations: 5.766 kB / 0.7196 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.5579, allocations: 5.562 kB / 0.7196 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.5584, allocations: 83.75 kB / 0.7197 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.993e-05/0.5585, allocations: 25 kB / 0.7197 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.5585, allocations: 1.781 kB / 0.7197 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.5586, allocations: 17.97 kB / 0.7197 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.5586, allocations: 12.62 kB / 0.7197 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.5587, allocations: 2.312 kB / 0.7197 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.559, allocations: 81.22 kB / 0.7198 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.559, allocations: 4.062 kB / 0.7198 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.559, allocations: 33.42 kB / 0.7199 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.5592, allocations: 49.33 kB / 0.7199 GB, free: 7.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.5592, allocations: 0 / 0.7199 GB, free: 7.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5592, allocations: 0 / 0.7199 GB, free: 7.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5592, allocations: 1.312 kB / 0.7199 GB, free: 7.062 MB / 0.545 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.0003861/0.5596, allocations: 346.5 kB / 0.7202 GB, free: 6.699 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5596, allocations: 9.5 kB / 0.7202 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.5599, allocations: 13.89 kB / 0.7203 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.56, allocations: 161.3 kB / 0.7204 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.56, allocations: 11.09 kB / 0.7204 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.56, allocations: 6.047 kB / 0.7204 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5602, allocations: 51.31 kB / 0.7205 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5602, allocations: 0.9688 kB / 0.7205 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5602, allocations: 1.156 kB / 0.7205 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5602, allocations: 1.031 kB / 0.7205 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.5603, allocations: 22.25 kB / 0.7205 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.5605, allocations: 171.5 kB / 0.7207 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.5606, allocations: 52.22 kB / 0.7207 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.5606, allocations: 1.219 kB / 0.7207 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.5606, allocations: 36.44 kB / 0.7208 GB, free: 6.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5606, allocations: 0 / 0.7208 GB, free: 6.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007479/0.5614, allocations: 376.2 kB / 0.7211 GB, free: 5.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5614, allocations: 57.56 kB / 0.7212 GB, free: 5.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.5615, allocations: 93.17 kB / 0.7213 GB, free: 5.695 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5615, allocations: 30.89 kB / 0.7213 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.5616, allocations: 80.14 kB / 0.7214 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.5616, allocations: 36.3 kB / 0.7214 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.5616, allocations: 4 kB / 0.7214 GB, free: 5.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5618, allocations: 318.8 kB / 0.7217 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.5618, allocations: 17.53 kB / 0.7217 GB, free: 5.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.5619, allocations: 40.2 kB / 0.7218 GB, free: 5.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.5619, allocations: 22.27 kB / 0.7218 GB, free: 5.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5619, allocations: 0 / 0.7218 GB, free: 5.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001481/0.5621, allocations: 102.2 kB / 0.7219 GB, free: 5.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5621, allocations: 6.078 kB / 0.7219 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5621, allocations: 0 / 0.7219 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5621, allocations: 3.031 kB / 0.7219 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.5623, allocations: 20.23 kB / 0.7219 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5623, allocations: 2.188 kB / 0.7219 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.5623, allocations: 5.406 kB / 0.7219 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5623, allocations: 7.625 kB / 0.7219 GB, free: 5.121 MB / 0.545 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 8.65e-05/0.5624, allocations: 122.7 kB / 0.722 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.5624, allocations: 2.75 kB / 0.722 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.5625, allocations: 9 kB / 0.722 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5625, allocations: 2.5 kB / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5625, allocations: 0 / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5625, allocations: 2.172 kB / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.5626, allocations: 170.6 kB / 0.7222 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5627, allocations: 7.938 kB / 0.7222 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.5628, allocations: 26.91 kB / 0.7222 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5628, allocations: 0.9375 kB / 0.7222 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-06/0.5628, allocations: 0.9688 kB / 0.7223 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5628, allocations: 0.9688 kB / 0.7223 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5628, allocations: 1.812 kB / 0.7223 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.5631, allocations: 139.5 kB / 0.7224 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.5631, allocations: 86.72 kB / 0.7225 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5632, allocations: 7.344 kB / 0.7225 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.5633, allocations: 8.016 kB / 0.7225 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.5633, allocations: 5.625 kB / 0.7225 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5633, allocations: 2.344 kB / 0.7225 GB, free: 4.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.5633, allocations: 81.23 kB / 0.7226 GB, free: 4.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5634, allocations: 0 / 0.7226 GB, free: 4.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002117/0.5636, allocations: 17.12 kB / 0.7226 GB, free: 4.492 MB / 0.545 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.0001173/0.5637, allocations: 102 kB / 0.7227 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.5638, allocations: 59.45 kB / 0.7227 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5638, allocations: 1.094 kB / 0.7227 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.5639, allocations: 29.33 kB / 0.7228 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.5641, allocations: 14.61 kB / 0.7228 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.5647, allocations: 387 kB / 0.7232 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.5649, allocations: 0.6882 MB / 0.7238 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.797e-05/0.565, allocations: 11.45 kB / 0.7238 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.565, allocations: 12.06 kB / 0.7238 GB, free: 3.371 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.565, allocations: 4 kB / 0.7238 GB, free: 3.367 MB / 0.545 GB Notification: Performance of Templates: time 0.003012/0.5681, allocations: 0.5761 MB / 0.7244 GB, free: 3.309 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: