Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001149/0.001149, allocations: 102.7 kB / 16.27 MB, free: 6.41 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.001607/0.001606, allocations: 184.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7754/0.7754, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 63.89 kB / 0.495 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4193, allocations: 78.71 MB / 0.5718 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002448/0.4218, allocations: 1.261 MB / 0.5731 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1774/0.5992, allocations: 147 MB / 0.7166 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.5993, allocations: 0 / 0.7166 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.5994, allocations: 4 kB / 0.7166 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.5994, allocations: 11.92 kB / 0.7166 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.5999, allocations: 91.55 kB / 0.7167 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.6, allocations: 31.91 kB / 0.7167 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.6, allocations: 4 kB / 0.7167 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.6001, allocations: 19.88 kB / 0.7168 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.6001, allocations: 11.97 kB / 0.7168 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.6001, allocations: 4 kB / 0.7168 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.6004, allocations: 79.83 kB / 0.7169 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.6005, allocations: 11.94 kB / 0.7169 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.6005, allocations: 15.91 kB / 0.7169 GB, free: 1.633 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.6007, allocations: 61.86 kB / 0.7169 GB, free: 1.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6007, allocations: 4 kB / 0.7169 GB, free: 1.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6007, allocations: 0 / 0.7169 GB, free: 1.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6007, allocations: 0 / 0.7169 GB, free: 1.57 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.0003745/0.6011, allocations: 355.4 kB / 0.7173 GB, free: 1.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6011, allocations: 12.03 kB / 0.7173 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.6013, allocations: 16.92 kB / 0.7173 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.6014, allocations: 160.4 kB / 0.7175 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.6015, allocations: 11.94 kB / 0.7175 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.6015, allocations: 4 kB / 0.7175 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.6016, allocations: 57.61 kB / 0.7175 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.6016, allocations: 0 / 0.7175 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.6016, allocations: 0 / 0.7175 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.6016, allocations: 0 / 0.7175 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.6017, allocations: 19.98 kB / 0.7175 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.6019, allocations: 173.5 kB / 0.7177 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.6019, allocations: 46.56 kB / 0.7178 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.602, allocations: 24.78 kB / 0.7178 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.602, allocations: 0 / 0.7178 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.602, allocations: 30.56 kB / 0.7178 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.602, allocations: 0 / 0.7178 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006975/0.6027, allocations: 374.3 kB / 0.7182 GB, free: 100 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.6028, allocations: 59.41 kB / 0.7182 GB, free: 28 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.6029, allocations: 93.84 kB / 0.7183 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.6029, allocations: 25.7 kB / 0.7183 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.6029, allocations: 88.12 kB / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.603, allocations: 35.47 kB / 0.7185 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.603, allocations: 37.73 kB / 0.7185 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.6031, allocations: 318.7 kB / 0.7188 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.6032, allocations: 23.98 kB / 0.7188 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.6032, allocations: 33.64 kB / 0.7189 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.6033, allocations: 61.7 kB / 0.7189 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6033, allocations: 0 / 0.7189 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001292/0.6035, allocations: 93.61 kB / 0.719 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.6035, allocations: 8 kB / 0.719 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6035, allocations: 0.7031 kB / 0.719 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6035, allocations: 4 kB / 0.719 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.6036, allocations: 19.98 kB / 0.719 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6036, allocations: 4 kB / 0.719 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.6037, allocations: 4 kB / 0.719 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.6037, allocations: 4 kB / 0.719 GB, free: 15.14 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.6038, allocations: 121.7 kB / 0.7192 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.6038, allocations: 7.906 kB / 0.7192 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.6038, allocations: 15.97 kB / 0.7192 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.6038, allocations: 4 kB / 0.7192 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6039, allocations: 0 / 0.7192 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6039, allocations: 0 / 0.7192 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.604, allocations: 173.5 kB / 0.7194 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.604, allocations: 0 / 0.7194 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.6041, allocations: 23.98 kB / 0.7194 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6041, allocations: 0 / 0.7194 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.6041, allocations: 0 / 0.7194 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6041, allocations: 4 kB / 0.7194 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6042, allocations: 8 kB / 0.7194 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.6043, allocations: 134.2 kB / 0.7195 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.6044, allocations: 89.05 kB / 0.7196 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.6044, allocations: 8.094 kB / 0.7196 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.6045, allocations: 0 / 0.7196 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.6046, allocations: 11.97 kB / 0.7196 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.6046, allocations: 11.94 kB / 0.7196 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.6046, allocations: 79.28 kB / 0.7197 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6046, allocations: 0 / 0.7197 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001993/0.6048, allocations: 19.94 kB / 0.7197 GB, free: 14.34 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.532e-05/0.6049, allocations: 99.23 kB / 0.7198 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.6051, allocations: 59.91 kB / 0.7199 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6051, allocations: 0 / 0.7199 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.6051, allocations: 34.22 kB / 0.7199 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.6054, allocations: 10.03 kB / 0.7199 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.6059, allocations: 324.9 kB / 0.7202 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.6061, allocations: 0.6923 MB / 0.7209 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.43e-05/0.6062, allocations: 8.672 kB / 0.7209 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.6062, allocations: 11.44 kB / 0.7209 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.6062, allocations: 0 / 0.7209 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.002662/0.6089, allocations: 0.6353 MB / 0.7215 GB, free: 12.43 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)