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.001542/0.001542, allocations: 174.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 133.6 MB / 141.6 MB, free: 2.84 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.798/1.798, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009396/0.0009395, allocations: 100.8 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.114e-05, allocations: 0 / 0.5535 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6057, allocations: 82.31 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.84/12.45, allocations: 4.151 GB / 4.785 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/12.45, allocations: 78.84 kB / 4.785 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07344/12.52, allocations: 35.95 MB / 4.82 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/12.52, allocations: 0 / 4.82 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.041e-06/12.52, allocations: 4 kB / 4.82 GB, free: 169.6 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.0003594/12.52, allocations: 342.2 kB / 4.82 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/12.52, allocations: 8.031 kB / 4.82 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/12.52, allocations: 15.89 kB / 4.82 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.507e-05/12.52, allocations: 167 kB / 4.82 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/12.52, allocations: 4 kB / 4.82 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/12.52, allocations: 7.188 kB / 4.82 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.737e-05/12.52, allocations: 11.98 kB / 4.82 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/12.52, allocations: 49.33 kB / 4.82 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/12.52, allocations: 0 / 4.82 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/12.52, allocations: 0 / 4.82 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/12.52, allocations: 4 kB / 4.82 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/12.53, allocations: 137.8 kB / 4.82 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/12.53, allocations: 50.06 kB / 4.82 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/12.53, allocations: 12.73 kB / 4.82 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/12.53, allocations: 8 kB / 4.82 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/12.53, allocations: 30.56 kB / 4.821 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/12.53, allocations: 0 / 4.821 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006262/12.53, allocations: 344 kB / 4.821 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/12.53, allocations: 55.34 kB / 4.821 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/12.53, allocations: 92.44 kB / 4.821 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/12.53, allocations: 29.7 kB / 4.821 GB, free: 168 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/12.53, allocations: 84.08 kB / 4.821 GB, free: 168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/12.53, allocations: 34.77 kB / 4.821 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/12.53, allocations: 0 / 4.821 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/12.53, allocations: 314.5 kB / 4.821 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/12.53, allocations: 15.69 kB / 4.821 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/12.53, allocations: 37.83 kB / 4.821 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/12.53, allocations: 35.16 kB / 4.822 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/12.53, allocations: 0 / 4.822 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001123/12.53, allocations: 84.44 kB / 4.822 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/12.53, allocations: 4 kB / 4.822 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/12.53, allocations: 0 / 4.822 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/12.53, allocations: 0 / 4.822 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/12.53, allocations: 31.11 kB / 4.822 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/12.53, allocations: 3.953 kB / 4.822 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/12.53, allocations: 0 / 4.822 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/12.53, allocations: 8 kB / 4.822 GB, free: 167.4 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.927e-05/12.53, allocations: 105 kB / 4.822 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/12.53, allocations: 4 kB / 4.822 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/12.53, allocations: 8.344 kB / 4.822 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/12.53, allocations: 4 kB / 4.822 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/12.53, allocations: 0 / 4.822 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/12.53, allocations: 3.953 kB / 4.822 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/12.53, allocations: 149.3 kB / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/12.53, allocations: 0 / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/12.53, allocations: 19.94 kB / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/12.53, allocations: 7.984 kB / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/12.53, allocations: 4 kB / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/12.53, allocations: 0 / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/12.53, allocations: 0 / 4.822 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/12.53, allocations: 122.5 kB / 4.822 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/12.53, allocations: 88.08 kB / 4.822 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/12.53, allocations: 0 / 4.822 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/12.53, allocations: 3.938 kB / 4.822 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/12.53, allocations: 11.98 kB / 4.822 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/12.53, allocations: 4 kB / 4.822 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.2e-05/12.53, allocations: 75.28 kB / 4.822 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.9e-07/12.53, allocations: 0 / 4.822 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002667/12.53, allocations: 41.23 kB / 4.822 GB, free: 166.8 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.0007684/12.53, allocations: 0.66 MB / 4.823 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001149/12.53, allocations: 47.61 kB / 4.823 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/12.53, allocations: 3.812 kB / 4.823 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/12.53, allocations: 23.44 kB / 4.823 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/12.53, allocations: 12.09 kB / 4.823 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/12.53, allocations: 278.6 kB / 4.823 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/12.53, allocations: 0.6885 MB / 4.824 GB, free: 165 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.908e-05/12.53, allocations: 16.59 kB / 4.824 GB, free: 165 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/12.53, allocations: 15.44 kB / 4.824 GB, free: 165 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/12.53, allocations: 0 / 4.824 GB, free: 165 MB / 0.6823 GB Notification: Performance of Templates: time 0.006528/12.54, allocations: 3.889 MB / 4.828 GB, free: 161.1 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)