Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001051/0.001051, allocations: 174.3 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/package.mo): time 0.7487/0.7487, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.627/1.627, allocations: 221.3 MB / 396.8 MB, free: 9.168 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.0008737/0.000874, allocations: 95.8 kB / 478.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.148e-05, allocations: 2.688 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2233, allocations: 81.56 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.784/5.007, allocations: 1.707 GB / 2.342 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/5.008, allocations: 71.41 kB / 2.342 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05503/5.063, allocations: 29.71 MB / 2.371 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.604e-06/5.063, allocations: 0 / 2.371 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.746e-06/5.063, allocations: 0 / 2.371 GB, free: 225.9 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.0004352/5.063, allocations: 378.9 kB / 2.371 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/5.063, allocations: 12.03 kB / 2.371 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/5.064, allocations: 35.89 kB / 2.371 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/5.064, allocations: 163 kB / 2.371 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/5.064, allocations: 8 kB / 2.371 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/5.064, allocations: 7.906 kB / 2.371 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/5.064, allocations: 77.59 kB / 2.372 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/5.064, allocations: 0 / 2.372 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/5.064, allocations: 8 kB / 2.372 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/5.064, allocations: 7.953 kB / 2.372 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/5.064, allocations: 39.91 kB / 2.372 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/5.064, allocations: 181.6 kB / 2.372 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/5.065, allocations: 82.72 kB / 2.372 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/5.065, allocations: 28.84 kB / 2.372 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/5.065, allocations: 178.2 kB / 2.372 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/5.065, allocations: 38.56 kB / 2.372 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/5.065, allocations: 3.938 kB / 2.372 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001291/5.066, allocations: 0.5179 MB / 2.373 GB, free: 224 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/5.066, allocations: 59.36 kB / 2.373 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/5.066, allocations: 85 kB / 2.373 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/5.066, allocations: 33.7 kB / 2.373 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/5.066, allocations: 80.52 kB / 2.373 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/5.066, allocations: 71 kB / 2.373 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/5.066, allocations: 0 / 2.373 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/5.066, allocations: 323 kB / 2.373 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/5.067, allocations: 39.92 kB / 2.373 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/5.067, allocations: 64.64 kB / 2.373 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/5.067, allocations: 55.86 kB / 2.373 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/5.067, allocations: 0 / 2.373 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001768/5.067, allocations: 149.5 kB / 2.373 GB, free: 223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/5.067, allocations: 4 kB / 2.373 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/5.067, allocations: 8 kB / 2.373 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/5.067, allocations: 0 / 2.373 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/5.067, allocations: 39.92 kB / 2.374 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/5.067, allocations: 7.953 kB / 2.374 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/5.067, allocations: 4 kB / 2.374 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/5.067, allocations: 4 kB / 2.374 GB, free: 222.9 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 () * 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 6.526e-05/5.067, allocations: 128.6 kB / 2.374 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/5.067, allocations: 7.906 kB / 2.374 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/5.067, allocations: 20.22 kB / 2.374 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/5.067, allocations: 4 kB / 2.374 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/5.067, allocations: 0 / 2.374 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/5.067, allocations: 3.953 kB / 2.374 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/5.068, allocations: 189.6 kB / 2.374 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/5.068, allocations: 0 / 2.374 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/5.068, allocations: 39.98 kB / 2.374 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/5.068, allocations: 0 / 2.374 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/5.068, allocations: 7.984 kB / 2.374 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/5.068, allocations: 0 / 2.374 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/5.068, allocations: 0 / 2.374 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/5.068, allocations: 214.6 kB / 2.374 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/5.068, allocations: 89 kB / 2.374 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/5.068, allocations: 12.06 kB / 2.374 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/5.068, allocations: 7.984 kB / 2.374 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/5.068, allocations: 11.98 kB / 2.374 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/5.068, allocations: 4 kB / 2.374 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.208e-05/5.068, allocations: 75.28 kB / 2.374 GB, free: 222 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.068, allocations: 8.094 kB / 2.374 GB, free: 222 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000341/5.069, allocations: 67.94 kB / 2.374 GB, free: 221.9 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 () * 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.00071/5.069, allocations: 0.5584 MB / 2.375 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001854/5.07, allocations: 104 kB / 2.375 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/5.07, allocations: 0 / 2.375 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/5.07, allocations: 51.88 kB / 2.375 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/5.07, allocations: 17.06 kB / 2.375 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/5.071, allocations: 462.7 kB / 2.376 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/5.071, allocations: 0.7011 MB / 2.376 GB, free: 220 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001202/5.071, allocations: 28.75 kB / 2.376 GB, free: 220 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/5.071, allocations: 15.44 kB / 2.376 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/5.071, allocations: 0 / 2.376 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.01122/5.082, allocations: 9.776 MB / 2.386 GB, free: 210.2 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)