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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 195.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7343/0.7343, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.61 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.393, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002457/0.3955, allocations: 1.326 MB / 0.5814 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1705/0.5661, allocations: 148.1 MB / 0.726 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.5662, allocations: 4 kB / 0.726 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.5662, allocations: 3.984 kB / 0.726 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.5664, allocations: 11.86 kB / 0.726 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.5673, allocations: 334.6 kB / 0.7263 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.5674, allocations: 63.77 kB / 0.7264 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.5674, allocations: 0 / 0.7264 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.5675, allocations: 27.92 kB / 0.7264 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.5676, allocations: 35.89 kB / 0.7265 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.5676, allocations: 7.938 kB / 0.7265 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.5684, allocations: 414.8 kB / 0.7269 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.5685, allocations: 15.92 kB / 0.7269 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.5685, allocations: 27.91 kB / 0.7269 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.5688, allocations: 157.6 kB / 0.7271 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5688, allocations: 0 / 0.7271 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5689, allocations: 0 / 0.7271 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.5689, allocations: 0 / 0.7271 GB, free: 10.46 MB / 0.5606 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.0004528/0.5693, allocations: 391.3 kB / 0.7274 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5694, allocations: 12.03 kB / 0.7274 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.5698, allocations: 40.8 kB / 0.7275 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5699, allocations: 168.3 kB / 0.7276 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5699, allocations: 7.875 kB / 0.7276 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.57, allocations: 15.98 kB / 0.7277 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.5702, allocations: 73.66 kB / 0.7277 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5702, allocations: 0 / 0.7277 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5702, allocations: 4 kB / 0.7277 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5702, allocations: 4 kB / 0.7277 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.5703, allocations: 47.89 kB / 0.7278 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.5705, allocations: 193.4 kB / 0.728 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.5707, allocations: 86.59 kB / 0.728 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.5708, allocations: 32.94 kB / 0.7281 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.571, allocations: 186.2 kB / 0.7283 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.571, allocations: 30.56 kB / 0.7283 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.571, allocations: 336 / 0.7283 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001305/0.5723, allocations: 0.5499 MB / 0.7288 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5724, allocations: 55.41 kB / 0.7289 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.5725, allocations: 97.78 kB / 0.729 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.5725, allocations: 37.64 kB / 0.729 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.5726, allocations: 80.52 kB / 0.7291 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.5726, allocations: 67.02 kB / 0.7291 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.5727, allocations: 37.7 kB / 0.7292 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5728, allocations: 327 kB / 0.7295 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.5729, allocations: 31.98 kB / 0.7295 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.573, allocations: 67.41 kB / 0.7296 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5731, allocations: 123.3 kB / 0.7297 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5731, allocations: 4 kB / 0.7297 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002032/0.5733, allocations: 153.4 kB / 0.7299 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5734, allocations: 4 kB / 0.7299 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5734, allocations: 4 kB / 0.7299 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5734, allocations: 4 kB / 0.7299 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.5735, allocations: 43.92 kB / 0.7299 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5736, allocations: 3.938 kB / 0.7299 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.5736, allocations: 7.938 kB / 0.7299 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5736, allocations: 8 kB / 0.7299 GB, free: 7.188 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.5737, allocations: 113.8 kB / 0.73 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.5737, allocations: 7.906 kB / 0.73 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.5738, allocations: 20.44 kB / 0.7301 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5738, allocations: 4 kB / 0.7301 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5738, allocations: 3.984 kB / 0.7301 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5738, allocations: 3.938 kB / 0.7301 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.574, allocations: 201.5 kB / 0.7303 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.574, allocations: 0 / 0.7303 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.5742, allocations: 35.98 kB / 0.7303 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5742, allocations: 0 / 0.7303 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5742, allocations: 4.125 kB / 0.7303 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5742, allocations: 8 kB / 0.7303 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5742, allocations: 0 / 0.7303 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.5745, allocations: 216.8 kB / 0.7305 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.5746, allocations: 89 kB / 0.7306 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.5746, allocations: 8.062 kB / 0.7306 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5747, allocations: 4 kB / 0.7306 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.5748, allocations: 15.92 kB / 0.7306 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.5748, allocations: 7.984 kB / 0.7306 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.5748, allocations: 87.22 kB / 0.7307 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5748, allocations: 0 / 0.7307 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002138/0.575, allocations: 28 kB / 0.7308 GB, free: 6.25 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.5752, allocations: 103.2 kB / 0.7308 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.5754, allocations: 114.5 kB / 0.731 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5754, allocations: 0 / 0.731 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.5755, allocations: 59.91 kB / 0.731 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5757, allocations: 12.25 kB / 0.731 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.5765, allocations: 0.509 MB / 0.7315 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5768, allocations: 0.7086 MB / 0.7322 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.5769, allocations: 24.41 kB / 0.7322 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.577, allocations: 15.44 kB / 0.7323 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.577, allocations: 4 kB / 0.7323 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of Templates: time 0.003273/0.5802, allocations: 1.106 MB / 0.7333 GB, free: 3.551 MB / 0.5606 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)