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.001877/0.001878, allocations: 104.4 kB / 16.41 MB, free: 6.496 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.002153/0.002153, allocations: 191 kB / 17.34 MB, free: 5.762 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.523/1.523, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8155/0.8155, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.06 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002383/0.176, allocations: 1.274 MB / 0.6616 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6063/0.7823, allocations: 147 MB / 0.8051 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.7824, allocations: 1.062 kB / 0.8051 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.7825, allocations: 6.328 kB / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.7826, allocations: 7.203 kB / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.783, allocations: 91.14 kB / 0.8052 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.7831, allocations: 38 kB / 0.8052 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.7832, allocations: 5.641 kB / 0.8052 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.7832, allocations: 11.16 kB / 0.8053 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.7833, allocations: 18.8 kB / 0.8053 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.7833, allocations: 2.188 kB / 0.8053 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.7836, allocations: 77.78 kB / 0.8054 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.7836, allocations: 8.609 kB / 0.8054 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.7837, allocations: 12.27 kB / 0.8054 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.7839, allocations: 67.84 kB / 0.8054 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7839, allocations: 5.922 kB / 0.8054 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.797e-06/0.7839, allocations: 0 / 0.8054 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.7839, allocations: 5.312 kB / 0.8054 GB, free: 11.89 MB / 0.5919 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.000455/0.7844, allocations: 350.8 kB / 0.8058 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7844, allocations: 9.469 kB / 0.8058 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.7846, allocations: 14.55 kB / 0.8058 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7847, allocations: 162 kB / 0.806 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.7848, allocations: 9.406 kB / 0.806 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.7848, allocations: 7.969 kB / 0.806 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.7849, allocations: 56.95 kB / 0.806 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7849, allocations: 0 / 0.806 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.785, allocations: 0.9062 kB / 0.806 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.785, allocations: 1.281 kB / 0.806 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.785, allocations: 21.88 kB / 0.8061 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.7852, allocations: 167.8 kB / 0.8062 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.7853, allocations: 56.92 kB / 0.8063 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.7854, allocations: 15.33 kB / 0.8063 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.7854, allocations: 3.984 kB / 0.8063 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.7854, allocations: 33.47 kB / 0.8063 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7854, allocations: 0 / 0.8063 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007586/0.7862, allocations: 370.7 kB / 0.8067 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.7863, allocations: 57.97 kB / 0.8067 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.7863, allocations: 97.66 kB / 0.8068 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.7864, allocations: 27.11 kB / 0.8068 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.7864, allocations: 80.14 kB / 0.8069 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.7864, allocations: 38.89 kB / 0.807 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.7865, allocations: 28.36 kB / 0.807 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7867, allocations: 321.4 kB / 0.8073 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.7867, allocations: 21.61 kB / 0.8073 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.7867, allocations: 39.34 kB / 0.8073 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.7868, allocations: 61.48 kB / 0.8074 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.7869, allocations: 0 / 0.8074 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001363/0.787, allocations: 97.64 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.787, allocations: 8.75 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.787, allocations: 2.656 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.787, allocations: 0 / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7872, allocations: 24.61 kB / 0.8075 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7872, allocations: 5.188 kB / 0.8075 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.7872, allocations: 1.188 kB / 0.8075 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7872, allocations: 9.531 kB / 0.8076 GB, free: 10.04 MB / 0.5919 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.0001171/0.7874, allocations: 117.2 kB / 0.8077 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.7874, allocations: 2.844 kB / 0.8077 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.7874, allocations: 10.78 kB / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7874, allocations: 1.438 kB / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7874, allocations: 4.578 kB / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7875, allocations: 0 / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.7876, allocations: 176.7 kB / 0.8078 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7876, allocations: 3.938 kB / 0.8079 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.7877, allocations: 27.47 kB / 0.8079 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7878, allocations: 5.094 kB / 0.8079 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.7878, allocations: 0 / 0.8079 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.7878, allocations: 3.984 kB / 0.8079 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7878, allocations: 0 / 0.8079 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.788, allocations: 138.5 kB / 0.808 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.7881, allocations: 87.22 kB / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.7881, allocations: 1.281 kB / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.7882, allocations: 5.781 kB / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.7882, allocations: 5.234 kB / 0.8081 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.7883, allocations: 9.594 kB / 0.8081 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.7883, allocations: 78.47 kB / 0.8082 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7883, allocations: 1.156 kB / 0.8082 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001935/0.7885, allocations: 15.09 kB / 0.8082 GB, free: 9.461 MB / 0.5919 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.0001147/0.7886, allocations: 106.5 kB / 0.8083 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.7888, allocations: 53.66 kB / 0.8084 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7888, allocations: 1.344 kB / 0.8084 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.7888, allocations: 32.3 kB / 0.8084 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.7891, allocations: 6.812 kB / 0.8084 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.7897, allocations: 348.7 kB / 0.8087 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.79, allocations: 0.6844 MB / 0.8094 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.79, allocations: 17.28 kB / 0.8094 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.79, allocations: 0 / 0.8094 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of Templates: time 0.002366/0.7924, allocations: 0.8382 MB / 0.8102 GB, free: 8.316 MB / 0.5919 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)