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.009677/0.009677, allocations: 169.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/package.mo): time 0.7603/0.7603, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.2 MB / 403.2 MB, free: 6.734 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.0009711/0.0009713, allocations: 90.52 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 12 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6662/0.6667, allocations: 81.58 MB / 0.6437 GB, free: 39.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.931/5.598, allocations: 1.707 GB / 2.351 GB, free: 35.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/5.598, allocations: 67.97 kB / 2.351 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05502/5.653, allocations: 29.75 MB / 2.38 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/5.653, allocations: 0 / 2.38 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.658e-06/5.653, allocations: 4 kB / 2.38 GB, free: 5.48 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.0004636/5.654, allocations: 383.1 kB / 2.38 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/5.654, allocations: 12.03 kB / 2.38 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/5.654, allocations: 35.95 kB / 2.38 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/5.654, allocations: 167 kB / 2.381 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/5.655, allocations: 8 kB / 2.381 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/5.655, allocations: 11.91 kB / 2.381 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/5.655, allocations: 78.67 kB / 2.381 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/5.655, allocations: 0 / 2.381 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/5.655, allocations: 4 kB / 2.381 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/5.655, allocations: 3.953 kB / 2.381 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/5.655, allocations: 43.97 kB / 2.381 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/5.655, allocations: 177.6 kB / 2.381 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/5.655, allocations: 86.48 kB / 2.381 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/5.655, allocations: 182.3 kB / 2.381 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/5.655, allocations: 34.56 kB / 2.381 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/5.655, allocations: 0 / 2.381 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001226/5.657, allocations: 0.5511 MB / 2.382 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/5.657, allocations: 63.36 kB / 2.382 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/5.657, allocations: 85 kB / 2.382 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/5.657, allocations: 33.7 kB / 2.382 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/5.657, allocations: 84.5 kB / 2.382 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/5.657, allocations: 67.02 kB / 2.382 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/5.657, allocations: 0 / 2.382 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/5.657, allocations: 322.8 kB / 2.382 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/5.657, allocations: 35.98 kB / 2.382 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/5.657, allocations: 67.53 kB / 2.382 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/5.657, allocations: 51.91 kB / 2.382 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/5.657, allocations: 0 / 2.382 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001889/5.657, allocations: 153.5 kB / 2.383 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/5.657, allocations: 4 kB / 2.383 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/5.657, allocations: 3.984 kB / 2.383 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/5.658, allocations: 7.938 kB / 2.383 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/5.658, allocations: 39.92 kB / 2.383 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/5.658, allocations: 4 kB / 2.383 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/5.658, allocations: 11.95 kB / 2.383 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/5.658, allocations: 4 kB / 2.383 GB, free: 2.402 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 7.948e-05/5.658, allocations: 121.8 kB / 2.383 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/5.658, allocations: 7.906 kB / 2.383 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/5.658, allocations: 20.44 kB / 2.383 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/5.658, allocations: 0 / 2.383 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/5.658, allocations: 128 / 2.383 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/5.658, allocations: 7.984 kB / 2.383 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/5.658, allocations: 201.6 kB / 2.383 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/5.658, allocations: 0 / 2.383 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/5.658, allocations: 35.98 kB / 2.383 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/5.658, allocations: 0 / 2.383 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/5.658, allocations: 4 kB / 2.383 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/5.658, allocations: 0 / 2.383 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/5.658, allocations: 0 / 2.383 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/5.659, allocations: 213.6 kB / 2.383 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/5.659, allocations: 93 kB / 2.383 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/5.659, allocations: 8.062 kB / 2.383 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/5.659, allocations: 4 kB / 2.383 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/5.659, allocations: 11.98 kB / 2.383 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/5.659, allocations: 11.94 kB / 2.383 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.218e-05/5.659, allocations: 79.27 kB / 2.383 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/5.659, allocations: 0 / 2.383 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003397/5.659, allocations: 60 kB / 2.384 GB, free: 1.445 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.0006715/5.66, allocations: 0.5669 MB / 2.384 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001881/5.66, allocations: 102.6 kB / 2.384 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/5.66, allocations: 0 / 2.384 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/5.66, allocations: 55.91 kB / 2.384 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/5.66, allocations: 12.8 kB / 2.384 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/5.661, allocations: 0.6201 MB / 2.385 GB, free: 52 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4399/6.101, allocations: 0.7005 MB / 2.386 GB, free: 251 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002138/6.101, allocations: 21.94 kB / 2.386 GB, free: 251 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/6.101, allocations: 15.31 kB / 2.386 GB, free: 251 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/6.101, allocations: 0.6562 kB / 2.386 GB, free: 251 MB / 0.6823 GB Notification: Performance of Templates: time 0.01836/6.12, allocations: 8.131 MB / 2.394 GB, free: 250.7 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)