Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001338/0.001338, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.001365/0.001365, allocations: 199.1 kB / 17.31 MB, free: 5.613 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8524/0.8524, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3879, allocations: 80.91 MB / 0.5858 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002131/0.3901, allocations: 1.329 MB / 0.5871 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.552, allocations: 148.1 MB / 0.7317 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.5521, allocations: 0 / 0.7317 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.074e-05/0.5522, allocations: 11.92 kB / 0.7317 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.5524, allocations: 19.91 kB / 0.7317 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.5535, allocations: 326.6 kB / 0.732 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.5537, allocations: 67.77 kB / 0.7321 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.5537, allocations: 7.984 kB / 0.7321 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.5538, allocations: 35.89 kB / 0.7321 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.5539, allocations: 27.91 kB / 0.7321 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.554, allocations: 4 kB / 0.7321 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008989/0.5549, allocations: 406.8 kB / 0.7325 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.5549, allocations: 15.98 kB / 0.7325 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.555, allocations: 31.84 kB / 0.7326 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.5554, allocations: 161.5 kB / 0.7327 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5554, allocations: 4 kB / 0.7327 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5554, allocations: 0 / 0.7327 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.5554, allocations: 0 / 0.7327 GB, free: 3.676 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.0005201/0.5559, allocations: 395.2 kB / 0.7331 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.556, allocations: 9.109 kB / 0.7331 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.5564, allocations: 40.8 kB / 0.7332 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.5566, allocations: 164.3 kB / 0.7333 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.5566, allocations: 15.94 kB / 0.7333 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.5566, allocations: 8 kB / 0.7333 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.5568, allocations: 77.64 kB / 0.7334 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.5568, allocations: 0 / 0.7334 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.5569, allocations: 4 kB / 0.7334 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5569, allocations: 0 / 0.7334 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.557, allocations: 47.95 kB / 0.7335 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.5573, allocations: 185.4 kB / 0.7336 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.5575, allocations: 101.9 kB / 0.7337 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.5575, allocations: 33.17 kB / 0.7338 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.5579, allocations: 174.1 kB / 0.7339 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5579, allocations: 38.56 kB / 0.734 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5579, allocations: 0 / 0.734 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.5592, allocations: 0.5407 MB / 0.7345 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5593, allocations: 55.41 kB / 0.7346 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.5594, allocations: 101.8 kB / 0.7347 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5594, allocations: 33.83 kB / 0.7347 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.5594, allocations: 80.52 kB / 0.7348 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.5595, allocations: 70.98 kB / 0.7348 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.5596, allocations: 41.7 kB / 0.7349 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5597, allocations: 314.8 kB / 0.7352 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.5598, allocations: 43.97 kB / 0.7352 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.5599, allocations: 67.27 kB / 0.7353 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.5601, allocations: 123.3 kB / 0.7354 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5601, allocations: 0 / 0.7354 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002431/0.5603, allocations: 161.4 kB / 0.7355 GB, free: 488 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5603, allocations: 4 kB / 0.7356 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5603, allocations: 4 kB / 0.7356 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5604, allocations: 0 / 0.7356 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.5606, allocations: 35.98 kB / 0.7356 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5606, allocations: 4 kB / 0.7356 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.5606, allocations: 11.94 kB / 0.7356 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5607, allocations: 7.938 kB / 0.7356 GB, free: 420 kB / 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.000108/0.5608, allocations: 126.7 kB / 0.7357 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.5608, allocations: 7.906 kB / 0.7357 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.5608, allocations: 16.44 kB / 0.7358 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5609, allocations: 0 / 0.7358 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5609, allocations: 4 kB / 0.7358 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5609, allocations: 7.875 kB / 0.7358 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.561, allocations: 193.6 kB / 0.736 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5611, allocations: 4 kB / 0.736 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.5613, allocations: 39.97 kB / 0.736 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5613, allocations: 4 kB / 0.736 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.5613, allocations: 4.062 kB / 0.736 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5613, allocations: 4 kB / 0.736 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5613, allocations: 3.938 kB / 0.736 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.5617, allocations: 203.3 kB / 0.7362 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5618, allocations: 97.06 kB / 0.7363 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5618, allocations: 7.938 kB / 0.7363 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5619, allocations: 11.98 kB / 0.7363 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.562, allocations: 11.92 kB / 0.7363 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.562, allocations: 12 kB / 0.7363 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.562, allocations: 75.28 kB / 0.7364 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.562, allocations: 0 / 0.7364 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000229/0.5623, allocations: 28 kB / 0.7364 GB, free: 15.48 MB / 0.5762 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.0001382/0.5624, allocations: 111.3 kB / 0.7365 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.5626, allocations: 107.8 kB / 0.7366 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5626, allocations: 0 / 0.7366 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.5627, allocations: 55.86 kB / 0.7367 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.563, allocations: 12 kB / 0.7367 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.5638, allocations: 0.5051 MB / 0.7372 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.5643, allocations: 0.7008 MB / 0.7379 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.5644, allocations: 20.64 kB / 0.7379 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.5645, allocations: 15.44 kB / 0.7379 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5645, allocations: 0 / 0.7379 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.004094/0.5686, allocations: 1.117 MB / 0.739 GB, free: 12.79 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)