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.0009536/0.0009534, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007507/0.007507, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 82.32 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001478/0.2136, allocations: 0.9977 MB / 0.589 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.569/0.7826, allocations: 143.1 MB / 0.7287 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.7827, allocations: 0 / 0.7287 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.7828, allocations: 1.266 kB / 0.7287 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.7828, allocations: 2.172 kB / 0.7287 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.7833, allocations: 84 kB / 0.7288 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.7834, allocations: 32.98 kB / 0.7289 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.7834, allocations: 6.188 kB / 0.7289 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.7835, allocations: 17.33 kB / 0.7289 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.7835, allocations: 10 kB / 0.7289 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.7836, allocations: 1.5 kB / 0.7289 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.7839, allocations: 75.92 kB / 0.729 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.7839, allocations: 11.02 kB / 0.729 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.784, allocations: 41.98 kB / 0.729 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.7841, allocations: 67.2 kB / 0.7291 GB, free: 3.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7842, allocations: 1.406 kB / 0.7291 GB, free: 3.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.378e-06/0.7842, allocations: 0.75 kB / 0.7291 GB, free: 3.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7842, allocations: 0 / 0.7291 GB, free: 3.141 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.0004642/0.7847, allocations: 347.2 kB / 0.7294 GB, free: 2.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.7847, allocations: 9.062 kB / 0.7294 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.785, allocations: 12.41 kB / 0.7294 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.7851, allocations: 163.9 kB / 0.7296 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.7851, allocations: 9.594 kB / 0.7296 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.7851, allocations: 7.875 kB / 0.7296 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.7853, allocations: 51.34 kB / 0.7297 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7853, allocations: 3.938 kB / 0.7297 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.7853, allocations: 1.25 kB / 0.7297 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7854, allocations: 1.031 kB / 0.7297 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.51e-05/0.7854, allocations: 17.12 kB / 0.7297 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.7856, allocations: 170.6 kB / 0.7298 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7858, allocations: 60.33 kB / 0.7299 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.7858, allocations: 21.89 kB / 0.7299 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.7858, allocations: 0 / 0.7299 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.7859, allocations: 36.55 kB / 0.73 GB, free: 2.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.7859, allocations: 1.031 kB / 0.73 GB, free: 2.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008788/0.7868, allocations: 367 kB / 0.7303 GB, free: 1.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.7868, allocations: 54.16 kB / 0.7304 GB, free: 1.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.7869, allocations: 91.7 kB / 0.7304 GB, free: 1.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.7869, allocations: 31.31 kB / 0.7305 GB, free: 1.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.787, allocations: 81.27 kB / 0.7306 GB, free: 1.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.7871, allocations: 43.75 kB / 0.7306 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.7871, allocations: 18.27 kB / 0.7306 GB, free: 1.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7872, allocations: 322.8 kB / 0.7309 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.7873, allocations: 20.38 kB / 0.7309 GB, free: 1.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.7874, allocations: 36.98 kB / 0.731 GB, free: 1.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.7875, allocations: 58.84 kB / 0.731 GB, free: 1.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.7875, allocations: 0 / 0.731 GB, free: 1.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001724/0.7877, allocations: 99.41 kB / 0.7311 GB, free: 1.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7877, allocations: 4.656 kB / 0.7311 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7877, allocations: 1.828 kB / 0.7311 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.7877, allocations: 1.031 kB / 0.7311 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.7879, allocations: 25.02 kB / 0.7312 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7879, allocations: 4.203 kB / 0.7312 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.7879, allocations: 1.688 kB / 0.7312 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.788, allocations: 7.453 kB / 0.7312 GB, free: 1.129 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 0.0001046/0.7881, allocations: 121.4 kB / 0.7313 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.7881, allocations: 6.828 kB / 0.7313 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.7881, allocations: 8.766 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7882, allocations: 2.281 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7882, allocations: 1.688 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7882, allocations: 4.562 kB / 0.7313 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.7884, allocations: 170.8 kB / 0.7315 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7884, allocations: 1.969 kB / 0.7315 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.7885, allocations: 23.33 kB / 0.7315 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7885, allocations: 1.75 kB / 0.7315 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7885, allocations: 4.984 kB / 0.7315 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7886, allocations: 9 kB / 0.7315 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7886, allocations: 0.6094 kB / 0.7315 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.7888, allocations: 137.5 kB / 0.7316 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.7889, allocations: 86.72 kB / 0.7317 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.7889, allocations: 1.062 kB / 0.7317 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.789, allocations: 11.27 kB / 0.7317 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.789, allocations: 5.516 kB / 0.7317 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.7891, allocations: 3.953 kB / 0.7317 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.7891, allocations: 76.06 kB / 0.7318 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7891, allocations: 0 / 0.7318 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001977/0.7893, allocations: 16.38 kB / 0.7318 GB, free: 0.5 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.0001228/0.7894, allocations: 108.9 kB / 0.7319 GB, free: 412 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.7896, allocations: 58.69 kB / 0.732 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7896, allocations: 1.312 kB / 0.732 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.7897, allocations: 28.89 kB / 0.732 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.7899, allocations: 8.328 kB / 0.732 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.7905, allocations: 383.7 kB / 0.7324 GB, free: 88 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.7908, allocations: 0.6936 MB / 0.7331 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.7909, allocations: 10.98 kB / 0.7331 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.7909, allocations: 12.69 kB / 0.7331 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of SimCode: time 1.974e-06/0.7909, allocations: 0 / 0.7331 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.003124/0.794, allocations: 0.6061 MB / 0.7337 GB, free: 15.3 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)