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.001624/0.001625, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001646, allocations: 197.7 kB / 16.91 MB, free: 6.195 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.313/1.313, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7579/0.7579, allocations: 132.2 MB / 422.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3984, allocations: 80.18 MB / 0.5802 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002347/0.4008, allocations: 1.397 MB / 0.5816 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.153/0.5538, allocations: 145.9 MB / 0.7241 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.5539, allocations: 3.938 kB / 0.7241 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.5539, allocations: 7.922 kB / 0.7241 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.5541, allocations: 11.92 kB / 0.7241 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.555, allocations: 304.5 kB / 0.7244 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.5551, allocations: 63.81 kB / 0.7244 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.5552, allocations: 4 kB / 0.7245 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.5552, allocations: 31.92 kB / 0.7245 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.5553, allocations: 35.89 kB / 0.7245 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.5553, allocations: 4 kB / 0.7245 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.5561, allocations: 438.7 kB / 0.7249 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.5562, allocations: 19.91 kB / 0.725 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.5562, allocations: 27.92 kB / 0.725 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.5564, allocations: 109.8 kB / 0.7251 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5564, allocations: 3.938 kB / 0.7251 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5565, allocations: 0 / 0.7251 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5565, allocations: 0 / 0.7251 GB, free: 9.594 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.0004654/0.5569, allocations: 399.3 kB / 0.7255 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.557, allocations: 12.03 kB / 0.7255 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.5574, allocations: 32.81 kB / 0.7255 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.5575, allocations: 164.4 kB / 0.7257 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5575, allocations: 11.94 kB / 0.7257 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.5576, allocations: 11.98 kB / 0.7257 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5577, allocations: 81.59 kB / 0.7258 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5578, allocations: 4 kB / 0.7258 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.5578, allocations: 3.984 kB / 0.7258 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5578, allocations: 0 / 0.7258 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.5579, allocations: 47.91 kB / 0.7258 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.5581, allocations: 197.4 kB / 0.726 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.5583, allocations: 90.62 kB / 0.7261 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.5583, allocations: 36.84 kB / 0.7261 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.5585, allocations: 170.2 kB / 0.7263 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5586, allocations: 38.56 kB / 0.7263 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.5586, allocations: 0 / 0.7263 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001251/0.5598, allocations: 0.5441 MB / 0.7269 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5599, allocations: 51.41 kB / 0.7269 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.56, allocations: 101.8 kB / 0.727 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.56, allocations: 25.7 kB / 0.727 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.56, allocations: 84.52 kB / 0.7271 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.5601, allocations: 75.06 kB / 0.7272 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.5602, allocations: 41.7 kB / 0.7272 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5603, allocations: 314.8 kB / 0.7275 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.5604, allocations: 43.97 kB / 0.7276 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.5604, allocations: 66.86 kB / 0.7276 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.5606, allocations: 115.4 kB / 0.7277 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5606, allocations: 4 kB / 0.7277 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002177/0.5608, allocations: 157.5 kB / 0.7279 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5608, allocations: 8 kB / 0.7279 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5609, allocations: 0 / 0.7279 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5609, allocations: 0 / 0.7279 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.561, allocations: 39.92 kB / 0.7279 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.5611, allocations: 7.938 kB / 0.728 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.5611, allocations: 7.938 kB / 0.728 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5611, allocations: 4.156 kB / 0.728 GB, free: 6.328 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 0.0001016/0.5612, allocations: 133.8 kB / 0.7281 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.5613, allocations: 7.906 kB / 0.7281 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.5613, allocations: 16.44 kB / 0.7281 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5613, allocations: 4 kB / 0.7281 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5613, allocations: 0 / 0.7281 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5613, allocations: 7.875 kB / 0.7281 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.5615, allocations: 193.6 kB / 0.7283 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5615, allocations: 0 / 0.7283 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.5617, allocations: 31.98 kB / 0.7283 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5617, allocations: 4 kB / 0.7283 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5617, allocations: 4 kB / 0.7283 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5617, allocations: 3.984 kB / 0.7284 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5617, allocations: 7.922 kB / 0.7284 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.562, allocations: 206.6 kB / 0.7286 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.5621, allocations: 93 kB / 0.7286 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.5622, allocations: 4.062 kB / 0.7287 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.5623, allocations: 11.98 kB / 0.7287 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.5623, allocations: 19.92 kB / 0.7287 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.5624, allocations: 8.25 kB / 0.7287 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.5624, allocations: 75.28 kB / 0.7288 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5624, allocations: 0 / 0.7288 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000213/0.5626, allocations: 28 kB / 0.7288 GB, free: 5.391 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.0001455/0.5628, allocations: 107.2 kB / 0.7289 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.563, allocations: 123.9 kB / 0.729 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.563, allocations: 4 kB / 0.729 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.5631, allocations: 47.92 kB / 0.7291 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.5634, allocations: 19.98 kB / 0.7291 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.5642, allocations: 0.5629 MB / 0.7296 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.5645, allocations: 0.7008 MB / 0.7303 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.5645, allocations: 19.44 kB / 0.7303 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.5645, allocations: 0 / 0.7303 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of Templates: time 0.002762/0.5673, allocations: 1.299 MB / 0.7316 GB, free: 2.445 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)