Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006337/0.006337, allocations: 170.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7467/0.7467, allocations: 135.2 MB / 151.1 MB, free: 13.85 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.496/1.496, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0008705/0.0008706, allocations: 102.8 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.000351, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4734, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.228/4.702, allocations: 1.707 GB / 2.357 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/4.702, allocations: 75.97 kB / 2.357 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5853/5.287, allocations: 29.75 MB / 2.386 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/5.288, allocations: 0 / 2.386 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.614e-06/5.288, allocations: 0 / 2.386 GB, free: 258.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004483/5.288, allocations: 385.6 kB / 2.386 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/5.288, allocations: 11.56 kB / 2.386 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/5.288, allocations: 42.84 kB / 2.386 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/5.289, allocations: 162.5 kB / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/5.289, allocations: 3.906 kB / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/5.289, allocations: 11.72 kB / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/5.289, allocations: 75.86 kB / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/5.289, allocations: 0 / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/5.289, allocations: 7.844 kB / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/5.289, allocations: 0 / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/5.289, allocations: 45.3 kB / 2.387 GB, free: 258 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/5.289, allocations: 193.5 kB / 2.387 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/5.289, allocations: 85.73 kB / 2.387 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/5.29, allocations: 174.8 kB / 2.387 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/5.29, allocations: 38.38 kB / 2.387 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/5.29, allocations: 4 kB / 2.387 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001208/5.291, allocations: 0.5329 MB / 2.388 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/5.291, allocations: 51.41 kB / 2.388 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/5.291, allocations: 99.97 kB / 2.388 GB, free: 257 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/5.291, allocations: 29.7 kB / 2.388 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/5.291, allocations: 80.52 kB / 2.388 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/5.291, allocations: 69.03 kB / 2.388 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/5.291, allocations: 7.969 kB / 2.388 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.369e-05/5.291, allocations: 321.8 kB / 2.388 GB, free: 256.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/5.291, allocations: 33.52 kB / 2.388 GB, free: 256.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/5.291, allocations: 77.14 kB / 2.388 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/5.291, allocations: 42.5 kB / 2.388 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/5.291, allocations: 0 / 2.388 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001908/5.292, allocations: 153.6 kB / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/5.292, allocations: 8.781 kB / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/5.292, allocations: 0 / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/5.292, allocations: 3.938 kB / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/5.292, allocations: 42.47 kB / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/5.292, allocations: 0 / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/5.292, allocations: 11.7 kB / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/5.292, allocations: 8.094 kB / 2.389 GB, free: 256.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.358e-05/5.292, allocations: 125.6 kB / 2.389 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/5.292, allocations: 11.84 kB / 2.389 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/5.292, allocations: 20.38 kB / 2.389 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/5.292, allocations: 0 / 2.389 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.292, allocations: 0 / 2.389 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/5.292, allocations: 0 / 2.389 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/5.292, allocations: 198.2 kB / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/5.292, allocations: 4 kB / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/5.292, allocations: 45.23 kB / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/5.292, allocations: 3.844 kB / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/5.292, allocations: 0 / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/5.292, allocations: 0 / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/5.292, allocations: 0 / 2.389 GB, free: 256 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/5.293, allocations: 208.5 kB / 2.389 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/5.293, allocations: 88.61 kB / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/5.293, allocations: 8.062 kB / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/5.293, allocations: 7.359 kB / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/5.293, allocations: 15.05 kB / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/5.293, allocations: 3.938 kB / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.826e-05/5.293, allocations: 79.12 kB / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.293, allocations: 0 / 2.389 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003905/5.293, allocations: 67.66 kB / 2.389 GB, free: 255.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.000705/5.294, allocations: 0.5643 MB / 2.39 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001939/5.294, allocations: 107.5 kB / 2.39 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/5.294, allocations: 3.844 kB / 2.39 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/5.294, allocations: 51.16 kB / 2.39 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/5.295, allocations: 13.92 kB / 2.39 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/5.295, allocations: 0.6189 MB / 2.391 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/5.296, allocations: 0.703 MB / 2.391 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001263/5.296, allocations: 24.23 kB / 2.392 GB, free: 254 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/5.296, allocations: 14.78 kB / 2.392 GB, free: 254 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/5.296, allocations: 0 / 2.392 GB, free: 254 MB / 0.6823 GB Notification: Performance of Templates: time 0.01/5.306, allocations: 8.134 MB / 2.399 GB, free: 246.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)