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.001015/0.001015, allocations: 176.2 kB / 7.643 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.8072/0.8072, allocations: 130.7 MB / 138.7 MB, free: 3.594 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.452/1.452, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009383/0.0009378, allocations: 99.38 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.932e-05, allocations: 7.984 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5114, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.029/5.541, allocations: 1.706 GB / 2.335 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/5.541, allocations: 75.44 kB / 2.335 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05565/5.597, allocations: 29.16 MB / 2.363 GB, free: 174.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.833e-06/5.597, allocations: 0 / 2.363 GB, free: 174.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.935e-06/5.597, allocations: 3.188 kB / 2.363 GB, free: 174.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003607/5.597, allocations: 382.7 kB / 2.363 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/5.597, allocations: 9.625 kB / 2.363 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/5.598, allocations: 31.16 kB / 2.364 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/5.598, allocations: 178.1 kB / 2.364 GB, free: 173.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/5.598, allocations: 0 / 2.364 GB, free: 173.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/5.598, allocations: 13.91 kB / 2.364 GB, free: 173.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001264/5.598, allocations: 35.38 kB / 2.364 GB, free: 173.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/5.598, allocations: 64.23 kB / 2.364 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/5.598, allocations: 0 / 2.364 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/5.598, allocations: 3.953 kB / 2.364 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/5.598, allocations: 3.75 kB / 2.364 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/5.598, allocations: 154.8 kB / 2.364 GB, free: 173.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/5.598, allocations: 82.28 kB / 2.364 GB, free: 173.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/5.599, allocations: 20.3 kB / 2.364 GB, free: 173.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/5.599, allocations: 177.1 kB / 2.364 GB, free: 173 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/5.599, allocations: 42.25 kB / 2.364 GB, free: 173 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/5.599, allocations: 0 / 2.364 GB, free: 173 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001113/5.6, allocations: 479.5 kB / 2.365 GB, free: 172.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/5.6, allocations: 59.09 kB / 2.365 GB, free: 172.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/5.6, allocations: 92.56 kB / 2.365 GB, free: 172.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/5.6, allocations: 25.7 kB / 2.365 GB, free: 172.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/5.6, allocations: 84.5 kB / 2.365 GB, free: 172.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/5.6, allocations: 65.86 kB / 2.365 GB, free: 172.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/5.6, allocations: 0 / 2.365 GB, free: 172.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/5.6, allocations: 326 kB / 2.365 GB, free: 172 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/5.6, allocations: 26.22 kB / 2.365 GB, free: 172 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/5.6, allocations: 65.28 kB / 2.365 GB, free: 172 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.186e-05/5.6, allocations: 49.77 kB / 2.365 GB, free: 172 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/5.6, allocations: 0 / 2.365 GB, free: 172 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001619/5.601, allocations: 135 kB / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/5.601, allocations: 7.281 kB / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/5.601, allocations: 0 / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/5.601, allocations: 3.719 kB / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/5.601, allocations: 34.48 kB / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/5.601, allocations: 7.922 kB / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/5.601, allocations: 7.75 kB / 2.366 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/5.601, allocations: 3.656 kB / 2.366 GB, free: 171.9 MB / 0.6667 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 7.014e-05/5.601, allocations: 112.8 kB / 2.366 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/5.601, allocations: 11.38 kB / 2.366 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/5.601, allocations: 12.22 kB / 2.366 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/5.601, allocations: 3.656 kB / 2.366 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/5.601, allocations: 0 / 2.366 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/5.601, allocations: 0 / 2.366 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/5.601, allocations: 167.6 kB / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/5.601, allocations: 4 kB / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/5.601, allocations: 45.02 kB / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/5.601, allocations: 0 / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/5.601, allocations: 0 / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/5.601, allocations: 0 / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/5.601, allocations: 0 / 2.366 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/5.602, allocations: 194.3 kB / 2.366 GB, free: 171.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/5.602, allocations: 92.44 kB / 2.366 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/5.602, allocations: 11.81 kB / 2.366 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/5.602, allocations: 0 / 2.366 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/5.602, allocations: 15.67 kB / 2.366 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/5.602, allocations: 11.42 kB / 2.366 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 1.918e-05/5.602, allocations: 75.28 kB / 2.366 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/5.602, allocations: 0 / 2.366 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002763/5.602, allocations: 52.45 kB / 2.366 GB, free: 171.3 MB / 0.6667 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.000692/5.603, allocations: 0.6423 MB / 2.367 GB, free: 171 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001739/5.603, allocations: 95.38 kB / 2.367 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/5.603, allocations: 3.75 kB / 2.367 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/5.603, allocations: 44.89 kB / 2.367 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/5.603, allocations: 6.406 kB / 2.367 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/5.604, allocations: 456.2 kB / 2.368 GB, free: 170.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/5.604, allocations: 0.7037 MB / 2.368 GB, free: 169.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000123/5.604, allocations: 28.25 kB / 2.368 GB, free: 169.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/5.604, allocations: 15.06 kB / 2.368 GB, free: 169.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/5.604, allocations: 0 / 2.368 GB, free: 169.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.006721/5.611, allocations: 4.138 MB / 2.372 GB, free: 167.7 MB / 0.6667 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)