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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 169 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8493/0.8493, allocations: 130.7 MB / 138.7 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009177/0.0009179, allocations: 90.97 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.977e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5917, allocations: 81.57 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.02/11.61, allocations: 4.15 GB / 4.779 GB, free: 94.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/11.61, allocations: 79.95 kB / 4.779 GB, free: 94.59 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.06756/11.68, allocations: 35.97 MB / 4.814 GB, free: 58.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.345e-06/11.68, allocations: 0 / 4.814 GB, free: 58.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.083e-06/11.68, allocations: 0 / 4.814 GB, free: 58.14 MB / 0.6667 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.0003199/11.68, allocations: 338.5 kB / 4.814 GB, free: 57.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/11.68, allocations: 8.031 kB / 4.814 GB, free: 57.76 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/11.68, allocations: 19.89 kB / 4.814 GB, free: 57.74 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/11.68, allocations: 163 kB / 4.814 GB, free: 57.54 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/11.68, allocations: 3.938 kB / 4.814 GB, free: 57.54 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/11.68, allocations: 4 kB / 4.814 GB, free: 57.54 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.407e-05/11.68, allocations: 19.92 kB / 4.814 GB, free: 57.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/11.68, allocations: 45.64 kB / 4.814 GB, free: 57.46 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/11.68, allocations: 0 / 4.814 GB, free: 57.46 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/11.68, allocations: 0 / 4.814 GB, free: 57.46 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/11.68, allocations: 0 / 4.814 GB, free: 57.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/11.68, allocations: 146.2 kB / 4.815 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/11.68, allocations: 46.62 kB / 4.815 GB, free: 57.23 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/11.68, allocations: 20.8 kB / 4.815 GB, free: 57.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/11.68, allocations: 0 / 4.815 GB, free: 57.21 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/11.68, allocations: 38.5 kB / 4.815 GB, free: 57.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/11.68, allocations: 0 / 4.815 GB, free: 57.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0006486/11.68, allocations: 338 kB / 4.815 GB, free: 56.78 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/11.68, allocations: 51.41 kB / 4.815 GB, free: 56.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/11.68, allocations: 89 kB / 4.815 GB, free: 56.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/11.68, allocations: 25.7 kB / 4.815 GB, free: 56.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/11.68, allocations: 80.14 kB / 4.815 GB, free: 56.51 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/11.68, allocations: 39.45 kB / 4.815 GB, free: 56.47 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/11.68, allocations: 0 / 4.815 GB, free: 56.47 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/11.68, allocations: 319 kB / 4.816 GB, free: 56.15 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/11.68, allocations: 16 kB / 4.816 GB, free: 56.13 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/11.68, allocations: 39.33 kB / 4.816 GB, free: 56.09 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/11.68, allocations: 12.16 kB / 4.816 GB, free: 56.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/11.68, allocations: 0 / 4.816 GB, free: 56.08 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001025/11.68, allocations: 89.5 kB / 4.816 GB, free: 55.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/11.68, allocations: 9.719 kB / 4.816 GB, free: 55.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/11.68, allocations: 0 / 4.816 GB, free: 55.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/11.68, allocations: 11.89 kB / 4.816 GB, free: 55.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/11.68, allocations: 24 kB / 4.816 GB, free: 55.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/11.68, allocations: 4.453 kB / 4.816 GB, free: 55.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/11.68, allocations: 0 / 4.816 GB, free: 55.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/11.68, allocations: 4 kB / 4.816 GB, free: 55.93 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/11.68, allocations: 104.9 kB / 4.816 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/11.68, allocations: 4 kB / 4.816 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/11.68, allocations: 8.406 kB / 4.816 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/11.68, allocations: 3.984 kB / 4.816 GB, free: 55.81 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/11.68, allocations: 7.953 kB / 4.816 GB, free: 55.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/11.68, allocations: 4 kB / 4.816 GB, free: 55.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/11.68, allocations: 150.2 kB / 4.816 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/11.68, allocations: 0 / 4.816 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/11.68, allocations: 16 kB / 4.816 GB, free: 55.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/11.68, allocations: 3.938 kB / 4.816 GB, free: 55.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/11.68, allocations: 4 kB / 4.816 GB, free: 55.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/11.68, allocations: 3.984 kB / 4.816 GB, free: 55.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/11.68, allocations: 0 / 4.816 GB, free: 55.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/11.68, allocations: 128.9 kB / 4.816 GB, free: 55.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/11.68, allocations: 85.14 kB / 4.816 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/11.68, allocations: 4 kB / 4.816 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/11.68, allocations: 0 / 4.816 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/11.68, allocations: 7.984 kB / 4.816 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/11.68, allocations: 4 kB / 4.816 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 1.815e-05/11.68, allocations: 75.28 kB / 4.816 GB, free: 55.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/11.68, allocations: 0 / 4.816 GB, free: 55.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002763/11.68, allocations: 44.08 kB / 4.816 GB, free: 55.21 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007821/11.68, allocations: 0.662 MB / 4.817 GB, free: 54.54 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001184/11.68, allocations: 43.94 kB / 4.817 GB, free: 54.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/11.68, allocations: 8 kB / 4.817 GB, free: 54.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/11.68, allocations: 27.92 kB / 4.817 GB, free: 54.46 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/11.68, allocations: 4 kB / 4.817 GB, free: 54.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/11.68, allocations: 272.2 kB / 4.817 GB, free: 54.16 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/11.68, allocations: 0.6885 MB / 4.818 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 6.895e-05/11.68, allocations: 12.66 kB / 4.818 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/11.68, allocations: 11.44 kB / 4.818 GB, free: 53.43 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/11.68, allocations: 4 kB / 4.818 GB, free: 53.42 MB / 0.6667 GB Notification: Performance of Templates: time 0.006576/11.69, allocations: 3.898 MB / 4.822 GB, free: 49.52 MB / 0.6667 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)