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.001264/0.001265, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001659/0.001659, allocations: 200.5 kB / 16.26 MB, free: 6.625 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.16 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.176, allocations: 80.93 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002724/0.1788, allocations: 1.324 MB / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6072/0.786, allocations: 144.8 MB / 0.7266 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.7861, allocations: 5.219 kB / 0.7266 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.7862, allocations: 5.438 kB / 0.7266 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.7862, allocations: 4.688 kB / 0.7267 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.7869, allocations: 83.34 kB / 0.7267 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.991e-05/0.787, allocations: 35.45 kB / 0.7268 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.787, allocations: 3.422 kB / 0.7268 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.7871, allocations: 14.23 kB / 0.7268 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.7872, allocations: 20.72 kB / 0.7268 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.7872, allocations: 5.219 kB / 0.7268 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.7876, allocations: 72.98 kB / 0.7269 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.7876, allocations: 7.734 kB / 0.7269 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.7876, allocations: 16.42 kB / 0.7269 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.7878, allocations: 63.48 kB / 0.727 GB, free: 2.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7879, allocations: 0 / 0.727 GB, free: 2.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7879, allocations: 1.188 kB / 0.727 GB, free: 2.754 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7879, allocations: 0 / 0.727 GB, free: 2.754 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.0004776/0.7884, allocations: 348.6 kB / 0.7273 GB, free: 2.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7884, allocations: 14.7 kB / 0.7273 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.7887, allocations: 12.97 kB / 0.7273 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.7888, allocations: 170.4 kB / 0.7275 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.7888, allocations: 10.22 kB / 0.7275 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.7888, allocations: 3.562 kB / 0.7275 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.789, allocations: 51.72 kB / 0.7275 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.789, allocations: 0.9375 kB / 0.7275 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.789, allocations: 1.75 kB / 0.7275 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7891, allocations: 0 / 0.7275 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.7891, allocations: 20.94 kB / 0.7276 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.7894, allocations: 171.6 kB / 0.7277 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.7895, allocations: 58.98 kB / 0.7278 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.7895, allocations: 18.88 kB / 0.7278 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.7896, allocations: 1.094 kB / 0.7278 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.7896, allocations: 31.72 kB / 0.7278 GB, free: 1.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.7896, allocations: 4 kB / 0.7278 GB, free: 1.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008285/0.7904, allocations: 361.1 kB / 0.7282 GB, free: 1.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.7905, allocations: 55.92 kB / 0.7282 GB, free: 1.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.7905, allocations: 97.53 kB / 0.7283 GB, free: 1.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.7906, allocations: 26.83 kB / 0.7284 GB, free: 1.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.7906, allocations: 88.12 kB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.7907, allocations: 48.06 kB / 0.7285 GB, free: 1.211 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.7907, allocations: 29.67 kB / 0.7285 GB, free: 1.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.7908, allocations: 318.4 kB / 0.7288 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.7909, allocations: 24.88 kB / 0.7288 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.7909, allocations: 31.12 kB / 0.7289 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.7911, allocations: 62.41 kB / 0.7289 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7911, allocations: 1.375 kB / 0.7289 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001463/0.7912, allocations: 97.91 kB / 0.729 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7912, allocations: 5.844 kB / 0.729 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7913, allocations: 1.219 kB / 0.729 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7913, allocations: 0.9375 kB / 0.729 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.7914, allocations: 24.41 kB / 0.7291 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.7914, allocations: 3.125 kB / 0.7291 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.7915, allocations: 5.703 kB / 0.7291 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.7915, allocations: 3.281 kB / 0.7291 GB, free: 0.7383 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 9.63e-05/0.7916, allocations: 117.8 kB / 0.7292 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.7916, allocations: 11.28 kB / 0.7292 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.7917, allocations: 12.67 kB / 0.7292 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7917, allocations: 1 kB / 0.7292 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7917, allocations: 1.094 kB / 0.7292 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7917, allocations: 1.219 kB / 0.7292 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.7919, allocations: 170.6 kB / 0.7294 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7919, allocations: 1.281 kB / 0.7294 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.792, allocations: 24.25 kB / 0.7294 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.792, allocations: 0 / 0.7294 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.792, allocations: 2.438 kB / 0.7294 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.792, allocations: 4 kB / 0.7294 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7921, allocations: 1.156 kB / 0.7294 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.7923, allocations: 140.8 kB / 0.7295 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.7924, allocations: 87.22 kB / 0.7296 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.7924, allocations: 8.109 kB / 0.7296 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.7925, allocations: 2.844 kB / 0.7296 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.7926, allocations: 6.641 kB / 0.7296 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.7926, allocations: 14.62 kB / 0.7296 GB, free: 184 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.7926, allocations: 76.95 kB / 0.7297 GB, free: 108 kB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7926, allocations: 0 / 0.7297 GB, free: 108 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002348/0.7929, allocations: 16.06 kB / 0.7297 GB, free: 104 kB / 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.0001267/0.793, allocations: 105.5 kB / 0.7298 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.7932, allocations: 61.98 kB / 0.7299 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7932, allocations: 1 kB / 0.7299 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.7933, allocations: 25.77 kB / 0.7299 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.7936, allocations: 12.2 kB / 0.7299 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.7943, allocations: 339 kB / 0.7303 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7946, allocations: 0.6852 MB / 0.7309 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.7947, allocations: 10.2 kB / 0.7309 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.7947, allocations: 12.53 kB / 0.7309 GB, free: 15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7947, allocations: 0 / 0.7309 GB, free: 15 MB / 0.5606 GB Notification: Performance of Templates: time 0.003447/0.7982, allocations: 0.6371 MB / 0.7316 GB, free: 14.93 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)