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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7436/0.7436, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.869/1.869, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 90.25 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.364e-05, allocations: 3.375 kB / 0.56 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2842, allocations: 82.3 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.73/12.01, allocations: 4.151 GB / 4.792 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/12.02, allocations: 82.83 kB / 4.792 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07117/12.09, allocations: 36.6 MB / 4.828 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/12.09, allocations: 0 / 4.828 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.314e-06/12.09, allocations: 0 / 4.828 GB, free: 55.72 MB / 0.6823 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.0003033/12.09, allocations: 351 kB / 4.828 GB, free: 55.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/12.09, allocations: 12.03 kB / 4.828 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/12.09, allocations: 11.91 kB / 4.828 GB, free: 55.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/12.09, allocations: 171 kB / 4.828 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/12.09, allocations: 4 kB / 4.828 GB, free: 55.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/12.09, allocations: 4 kB / 4.828 GB, free: 55.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/12.09, allocations: 49.75 kB / 4.828 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/12.09, allocations: 0 / 4.828 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/12.09, allocations: 7.891 kB / 4.828 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/12.09, allocations: 0 / 4.828 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/12.09, allocations: 15.98 kB / 4.828 GB, free: 55.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/12.09, allocations: 165.7 kB / 4.828 GB, free: 54.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/12.09, allocations: 58.55 kB / 4.828 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/12.09, allocations: 12.86 kB / 4.828 GB, free: 54.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/12.09, allocations: 4 kB / 4.828 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/12.09, allocations: 34.5 kB / 4.828 GB, free: 54.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/12.09, allocations: 0 / 4.828 GB, free: 54.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006949/12.09, allocations: 366.3 kB / 4.829 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/12.09, allocations: 55.34 kB / 4.829 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/12.09, allocations: 89 kB / 4.829 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/12.09, allocations: 29.7 kB / 4.829 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/12.09, allocations: 84.08 kB / 4.829 GB, free: 53.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/12.09, allocations: 35.45 kB / 4.829 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/12.09, allocations: 4.125 kB / 4.829 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/12.09, allocations: 318.8 kB / 4.829 GB, free: 53.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/12.09, allocations: 16 kB / 4.829 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/12.09, allocations: 41.7 kB / 4.829 GB, free: 53.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/12.09, allocations: 16 kB / 4.829 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/12.09, allocations: 0 / 4.829 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001134/12.09, allocations: 105.5 kB / 4.83 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/12.09, allocations: 4 kB / 4.83 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/12.09, allocations: 0 / 4.83 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/12.09, allocations: 11.95 kB / 4.83 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/12.09, allocations: 23.92 kB / 4.83 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/12.09, allocations: 4 kB / 4.83 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/12.09, allocations: 4 kB / 4.83 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/12.09, allocations: 4 kB / 4.83 GB, free: 53.39 MB / 0.6823 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.491e-05/12.09, allocations: 105 kB / 4.83 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/12.09, allocations: 4 kB / 4.83 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/12.09, allocations: 8.094 kB / 4.83 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/12.09, allocations: 3.953 kB / 4.83 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/12.09, allocations: 8 kB / 4.83 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/12.09, allocations: 0 / 4.83 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.388e-05/12.09, allocations: 169.6 kB / 4.83 GB, free: 53.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/12.09, allocations: 0 / 4.83 GB, free: 53.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/12.09, allocations: 31.92 kB / 4.83 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/12.09, allocations: 0 / 4.83 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/12.09, allocations: 4 kB / 4.83 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/12.09, allocations: 480 / 4.83 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/12.09, allocations: 7.953 kB / 4.83 GB, free: 53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/12.09, allocations: 133.7 kB / 4.83 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/12.09, allocations: 77.11 kB / 4.83 GB, free: 52.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/12.09, allocations: 8 kB / 4.83 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/12.09, allocations: 4.031 kB / 4.83 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/12.09, allocations: 4 kB / 4.83 GB, free: 52.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/12.09, allocations: 11.95 kB / 4.83 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.104e-05/12.09, allocations: 79.27 kB / 4.83 GB, free: 52.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/12.09, allocations: 0 / 4.83 GB, free: 52.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003252/12.09, allocations: 52.09 kB / 4.83 GB, free: 52.6 MB / 0.6823 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.0006916/12.09, allocations: 0.5721 MB / 4.831 GB, free: 52.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001304/12.09, allocations: 59.94 kB / 4.831 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/12.09, allocations: 0 / 4.831 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/12.09, allocations: 27.94 kB / 4.831 GB, free: 51.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/12.09, allocations: 8.938 kB / 4.831 GB, free: 51.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/12.09, allocations: 289 kB / 4.831 GB, free: 51.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/12.09, allocations: 0.6887 MB / 4.832 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.079e-05/12.09, allocations: 12.66 kB / 4.832 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/12.09, allocations: 11.44 kB / 4.832 GB, free: 50.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/12.09, allocations: 3.938 kB / 4.832 GB, free: 50.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.0118/12.1, allocations: 9.771 MB / 4.841 GB, free: 41.09 MB / 0.6823 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)