Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001226/0.001226, allocations: 107 kB / 16.36 MB, free: 6.285 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.001108/0.001108, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4482, allocations: 80.19 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002205/0.4505, allocations: 1.267 MB / 0.5827 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.6091, allocations: 147 MB / 0.7263 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.6092, allocations: 4 kB / 0.7263 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.6093, allocations: 4 kB / 0.7263 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.6094, allocations: 7.922 kB / 0.7263 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.6098, allocations: 90.08 kB / 0.7264 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.6099, allocations: 39.91 kB / 0.7264 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.61, allocations: 0 / 0.7264 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.6101, allocations: 15.92 kB / 0.7264 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.6101, allocations: 15.97 kB / 0.7265 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.6102, allocations: 11.94 kB / 0.7265 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.6104, allocations: 75.78 kB / 0.7265 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.6105, allocations: 11.92 kB / 0.7266 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.6105, allocations: 19.92 kB / 0.7266 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.6107, allocations: 57.78 kB / 0.7266 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6107, allocations: 3.984 kB / 0.7266 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6107, allocations: 0 / 0.7266 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6107, allocations: 3.938 kB / 0.7266 GB, free: 9.074 MB / 0.5606 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.0004119/0.6111, allocations: 351.3 kB / 0.727 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6112, allocations: 12.03 kB / 0.727 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.6114, allocations: 12.92 kB / 0.727 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.6115, allocations: 160.4 kB / 0.7271 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6115, allocations: 7.938 kB / 0.7272 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.6115, allocations: 4 kB / 0.7272 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.6117, allocations: 53.61 kB / 0.7272 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6117, allocations: 0 / 0.7272 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.6117, allocations: 8 kB / 0.7272 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6117, allocations: 0 / 0.7272 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.6118, allocations: 15.98 kB / 0.7272 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.6119, allocations: 177.4 kB / 0.7274 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.612, allocations: 46.56 kB / 0.7274 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.6121, allocations: 20.84 kB / 0.7275 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.6121, allocations: 0 / 0.7275 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6121, allocations: 38.48 kB / 0.7275 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.6121, allocations: 8 kB / 0.7275 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007265/0.6129, allocations: 370.3 kB / 0.7279 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6129, allocations: 55.41 kB / 0.7279 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.613, allocations: 93.84 kB / 0.728 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.613, allocations: 33.7 kB / 0.728 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.613, allocations: 80.27 kB / 0.7281 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.6131, allocations: 47.36 kB / 0.7282 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.6131, allocations: 21.72 kB / 0.7282 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6133, allocations: 322.8 kB / 0.7285 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.6133, allocations: 16 kB / 0.7285 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.6134, allocations: 37.7 kB / 0.7285 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.062e-05/0.6134, allocations: 57.64 kB / 0.7286 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6134, allocations: 0 / 0.7286 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001288/0.6136, allocations: 101.6 kB / 0.7287 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6136, allocations: 8 kB / 0.7287 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6136, allocations: 0 / 0.7287 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6136, allocations: 0 / 0.7287 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.6137, allocations: 23.98 kB / 0.7287 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6138, allocations: 4.641 kB / 0.7287 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.6138, allocations: 0 / 0.7287 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6138, allocations: 8 kB / 0.7287 GB, free: 6.648 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 8.372e-05/0.6139, allocations: 121.7 kB / 0.7288 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.6139, allocations: 7.906 kB / 0.7289 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.614, allocations: 11.97 kB / 0.7289 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.614, allocations: 0 / 0.7289 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.614, allocations: 0 / 0.7289 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.614, allocations: 3.984 kB / 0.7289 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.6141, allocations: 173.6 kB / 0.729 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.6141, allocations: 0 / 0.729 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6143, allocations: 27.98 kB / 0.7291 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6143, allocations: 3.938 kB / 0.7291 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6143, allocations: 4 kB / 0.7291 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6143, allocations: 4 kB / 0.7291 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6143, allocations: 0 / 0.7291 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6145, allocations: 140.9 kB / 0.7292 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.6146, allocations: 81.11 kB / 0.7293 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.6146, allocations: 0 / 0.7293 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.6147, allocations: 8.031 kB / 0.7293 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.6147, allocations: 4 kB / 0.7293 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.6147, allocations: 4 kB / 0.7293 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.6148, allocations: 83.27 kB / 0.7294 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.733e-06/0.6148, allocations: 0 / 0.7294 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001931/0.615, allocations: 23.88 kB / 0.7294 GB, free: 5.867 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 9.944e-05/0.6151, allocations: 99.25 kB / 0.7295 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.6152, allocations: 56.06 kB / 0.7296 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6152, allocations: 0 / 0.7296 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.6153, allocations: 35.92 kB / 0.7296 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.6154, allocations: 11.38 kB / 0.7296 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.616, allocations: 316.9 kB / 0.7299 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.6163, allocations: 0.6885 MB / 0.7306 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.6164, allocations: 12.61 kB / 0.7306 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.6164, allocations: 11.44 kB / 0.7306 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6164, allocations: 0 / 0.7306 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.00285/0.6193, allocations: 0.6385 MB / 0.7312 GB, free: 3.957 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)