Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001116/0.001116, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.22 kB / 0.5047 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2265, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002558/0.2291, allocations: 1.325 MB / 0.585 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5479/0.777, allocations: 144.7 MB / 0.7263 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.7771, allocations: 0 / 0.7263 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.7772, allocations: 5.219 kB / 0.7263 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.7773, allocations: 9.812 kB / 0.7263 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.7778, allocations: 75.33 kB / 0.7264 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.7779, allocations: 39.45 kB / 0.7264 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.7779, allocations: 2.828 kB / 0.7264 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.778, allocations: 14.2 kB / 0.7264 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.7781, allocations: 16.84 kB / 0.7265 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.7781, allocations: 1.094 kB / 0.7265 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.7784, allocations: 80.03 kB / 0.7265 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.7784, allocations: 4.297 kB / 0.7265 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.7785, allocations: 16.78 kB / 0.7266 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.7787, allocations: 67.44 kB / 0.7266 GB, free: 3.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7787, allocations: 0 / 0.7266 GB, free: 3.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7787, allocations: 0 / 0.7266 GB, free: 3.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7787, allocations: 0 / 0.7266 GB, free: 3.191 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.0004319/0.7791, allocations: 358 kB / 0.727 GB, free: 2.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.7792, allocations: 13.67 kB / 0.727 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.7794, allocations: 11.86 kB / 0.727 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.7795, allocations: 168.4 kB / 0.7271 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.7795, allocations: 5.062 kB / 0.7271 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.7796, allocations: 8.297 kB / 0.7272 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.7797, allocations: 47.53 kB / 0.7272 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7797, allocations: 0.8438 kB / 0.7272 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.7797, allocations: 9.266 kB / 0.7272 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.7797, allocations: 2.156 kB / 0.7272 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.7798, allocations: 17.73 kB / 0.7272 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.78, allocations: 174.5 kB / 0.7274 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.7801, allocations: 56.16 kB / 0.7274 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.7802, allocations: 17.19 kB / 0.7275 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.7802, allocations: 1.156 kB / 0.7275 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.7802, allocations: 32.31 kB / 0.7275 GB, free: 2.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.7802, allocations: 4.562 kB / 0.7275 GB, free: 2.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007782/0.781, allocations: 368.2 kB / 0.7279 GB, free: 1.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.7811, allocations: 53.19 kB / 0.7279 GB, free: 1.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.18e-05/0.7811, allocations: 95.72 kB / 0.728 GB, free: 1.801 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.7812, allocations: 31.62 kB / 0.728 GB, free: 1.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.7812, allocations: 81.23 kB / 0.7281 GB, free: 1.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.7813, allocations: 44.72 kB / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.7813, allocations: 27.81 kB / 0.7282 GB, free: 1.625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7814, allocations: 322.9 kB / 0.7285 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.7815, allocations: 15.92 kB / 0.7285 GB, free: 1.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.7815, allocations: 40.34 kB / 0.7285 GB, free: 1.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.7816, allocations: 57.03 kB / 0.7286 GB, free: 1.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.7816, allocations: 1.094 kB / 0.7286 GB, free: 1.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001391/0.7818, allocations: 99.06 kB / 0.7287 GB, free: 1.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7818, allocations: 8.406 kB / 0.7287 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7818, allocations: 1.094 kB / 0.7287 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7818, allocations: 1.797 kB / 0.7287 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.782, allocations: 20.44 kB / 0.7287 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.782, allocations: 5.828 kB / 0.7287 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.782, allocations: 1.125 kB / 0.7287 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.782, allocations: 7.219 kB / 0.7287 GB, free: 1.172 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/0.7821, allocations: 116.5 kB / 0.7288 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.7821, allocations: 15.78 kB / 0.7289 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.7822, allocations: 9.75 kB / 0.7289 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7822, allocations: 1.062 kB / 0.7289 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7822, allocations: 1.062 kB / 0.7289 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7822, allocations: 0.6562 kB / 0.7289 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.7824, allocations: 174.3 kB / 0.729 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7824, allocations: 1.125 kB / 0.729 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.7825, allocations: 24.91 kB / 0.7291 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7825, allocations: 3.938 kB / 0.7291 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.7825, allocations: 1.75 kB / 0.7291 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7826, allocations: 6.547 kB / 0.7291 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7826, allocations: 0 / 0.7291 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.7828, allocations: 134 kB / 0.7292 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.7829, allocations: 86.8 kB / 0.7293 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.7829, allocations: 1.766 kB / 0.7293 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.783, allocations: 8.656 kB / 0.7293 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.783, allocations: 6.562 kB / 0.7293 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.783, allocations: 2.562 kB / 0.7293 GB, free: 0.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.7831, allocations: 81.11 kB / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7831, allocations: 0 / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001992/0.7833, allocations: 16.31 kB / 0.7294 GB, free: 0.543 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001084/0.7834, allocations: 110 kB / 0.7295 GB, free: 456 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.7835, allocations: 47.97 kB / 0.7295 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7835, allocations: 0 / 0.7295 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.7836, allocations: 34.2 kB / 0.7296 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.7839, allocations: 13.08 kB / 0.7296 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.7845, allocations: 340.1 kB / 0.7299 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.7847, allocations: 0.685 MB / 0.7306 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.075e-05/0.7848, allocations: 11.36 kB / 0.7306 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.7849, allocations: 11.69 kB / 0.7306 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.7849, allocations: 1.031 kB / 0.7306 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.002933/0.7878, allocations: 0.6125 MB / 0.7312 GB, free: 15.37 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)