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.001224/0.001224, allocations: 107 kB / 16.37 MB, free: 6.477 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.001211/0.001211, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7814/0.7814, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3472, allocations: 80.17 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00247/0.3498, allocations: 1.332 MB / 0.5828 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1423/0.4921, allocations: 148.1 MB / 0.7274 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.4922, allocations: 0 / 0.7274 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.4922, allocations: 7.922 kB / 0.7274 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.4924, allocations: 7.922 kB / 0.7274 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.4934, allocations: 341.6 kB / 0.7277 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.4935, allocations: 59.83 kB / 0.7278 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.4935, allocations: 7.938 kB / 0.7278 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.4936, allocations: 27.91 kB / 0.7278 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.655e-05/0.4937, allocations: 47.83 kB / 0.7279 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.4937, allocations: 0 / 0.7279 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.4945, allocations: 402.9 kB / 0.7283 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.4945, allocations: 15.92 kB / 0.7283 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.4946, allocations: 35.84 kB / 0.7283 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.4949, allocations: 153.4 kB / 0.7285 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4949, allocations: 0 / 0.7285 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4949, allocations: 0 / 0.7285 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.495, allocations: 0 / 0.7285 GB, free: 7.195 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.0004688/0.4954, allocations: 403.3 kB / 0.7288 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.4955, allocations: 8.031 kB / 0.7289 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.4959, allocations: 36.81 kB / 0.7289 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.496, allocations: 164.4 kB / 0.729 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.496, allocations: 15.88 kB / 0.7291 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.4961, allocations: 4 kB / 0.7291 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4963, allocations: 73.66 kB / 0.7291 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.4963, allocations: 4 kB / 0.7291 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.4963, allocations: 11.98 kB / 0.7292 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4963, allocations: 0 / 0.7292 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.4964, allocations: 43.95 kB / 0.7292 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.4966, allocations: 193.4 kB / 0.7294 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.4968, allocations: 98.67 kB / 0.7295 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.4969, allocations: 24.84 kB / 0.7295 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.4971, allocations: 186.1 kB / 0.7297 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4971, allocations: 30.56 kB / 0.7297 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.4971, allocations: 0 / 0.7297 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001233/0.4984, allocations: 0.5535 MB / 0.7302 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.4984, allocations: 55.41 kB / 0.7303 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.4985, allocations: 97.8 kB / 0.7304 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.4985, allocations: 29.7 kB / 0.7304 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.4986, allocations: 80.52 kB / 0.7305 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.4986, allocations: 71.12 kB / 0.7306 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.4987, allocations: 45.7 kB / 0.7306 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4988, allocations: 314.8 kB / 0.7309 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.4989, allocations: 35.97 kB / 0.7309 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.499, allocations: 77.83 kB / 0.731 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.4992, allocations: 115.4 kB / 0.7311 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.4992, allocations: 4 kB / 0.7311 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002259/0.4994, allocations: 157.5 kB / 0.7313 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4994, allocations: 4 kB / 0.7313 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4994, allocations: 4 kB / 0.7313 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4995, allocations: 0 / 0.7313 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4996, allocations: 43.92 kB / 0.7313 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4996, allocations: 0 / 0.7313 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.4997, allocations: 11.94 kB / 0.7313 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4997, allocations: 4 kB / 0.7313 GB, free: 3.922 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 9.677e-05/0.4998, allocations: 129.8 kB / 0.7315 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.4999, allocations: 11.91 kB / 0.7315 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.4999, allocations: 16.44 kB / 0.7315 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4999, allocations: 0 / 0.7315 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4999, allocations: 0 / 0.7315 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5, allocations: 7.938 kB / 0.7315 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5001, allocations: 185.6 kB / 0.7317 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5001, allocations: 0 / 0.7317 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.5003, allocations: 43.92 kB / 0.7317 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5003, allocations: 0 / 0.7317 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5004, allocations: 11.94 kB / 0.7317 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5004, allocations: 3.984 kB / 0.7317 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5004, allocations: 0 / 0.7317 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.5007, allocations: 204.9 kB / 0.7319 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.5008, allocations: 93 kB / 0.732 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.5008, allocations: 4.062 kB / 0.732 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5009, allocations: 8.234 kB / 0.732 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.501, allocations: 15.92 kB / 0.732 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.501, allocations: 12 kB / 0.7321 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.501, allocations: 87.22 kB / 0.7321 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.533e-06/0.501, allocations: 0 / 0.7321 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002181/0.5013, allocations: 27.94 kB / 0.7322 GB, free: 2.98 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.000122/0.5014, allocations: 103.2 kB / 0.7323 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5016, allocations: 106 kB / 0.7324 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5016, allocations: 4 kB / 0.7324 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.5017, allocations: 55.91 kB / 0.7324 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.5019, allocations: 16 kB / 0.7324 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.5027, allocations: 0.501 MB / 0.7329 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.5029, allocations: 0.7047 MB / 0.7336 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.503, allocations: 24.62 kB / 0.7336 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.5031, allocations: 15.44 kB / 0.7337 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5031, allocations: 0 / 0.7337 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.003402/0.5065, allocations: 1.111 MB / 0.7347 GB, free: 300 kB / 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)