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.001452/0.001452, allocations: 100.1 kB / 15.88 MB, free: 12 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.001855/0.001855, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.929/0.929, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 68 kB / 0.5053 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 80.93 MB / 0.5843 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002363/0.1646, allocations: 1.381 MB / 0.5857 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4475/0.6122, allocations: 145.8 MB / 0.7281 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.6122, allocations: 1.5 kB / 0.7281 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.6123, allocations: 5.672 kB / 0.7281 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.6124, allocations: 13.56 kB / 0.7281 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.6137, allocations: 296.5 kB / 0.7284 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.6138, allocations: 90.41 kB / 0.7284 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.6139, allocations: 7.391 kB / 0.7285 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.614, allocations: 31.11 kB / 0.7285 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.6141, allocations: 32.58 kB / 0.7285 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.6141, allocations: 2.25 kB / 0.7285 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.6154, allocations: 0.495 MB / 0.729 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.6155, allocations: 16.38 kB / 0.729 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.6156, allocations: 29.84 kB / 0.729 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.6159, allocations: 111.8 kB / 0.7292 GB, free: 2.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6159, allocations: 0 / 0.7292 GB, free: 2.039 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6159, allocations: 4 kB / 0.7292 GB, free: 2.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6159, allocations: 0 / 0.7292 GB, free: 2.035 MB / 0.545 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.0005903/0.6165, allocations: 389.1 kB / 0.7295 GB, free: 1.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6166, allocations: 9.031 kB / 0.7295 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.617, allocations: 39.98 kB / 0.7296 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6172, allocations: 164.1 kB / 0.7297 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.6172, allocations: 6.219 kB / 0.7297 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.6172, allocations: 14.78 kB / 0.7297 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.6175, allocations: 82.81 kB / 0.7298 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6175, allocations: 1.766 kB / 0.7298 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.6175, allocations: 5.312 kB / 0.7298 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.6175, allocations: 1.062 kB / 0.7298 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.6176, allocations: 45.3 kB / 0.7299 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.6179, allocations: 191.5 kB / 0.7301 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.6181, allocations: 99.84 kB / 0.7302 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.6181, allocations: 32.17 kB / 0.7302 GB, free: 1.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.6184, allocations: 175.6 kB / 0.7304 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6184, allocations: 35.78 kB / 0.7304 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.6185, allocations: 1.031 kB / 0.7304 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001402/0.6199, allocations: 0.541 MB / 0.7309 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.6199, allocations: 53.56 kB / 0.731 GB, free: 472 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.62, allocations: 99.14 kB / 0.7311 GB, free: 368 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.62, allocations: 39.86 kB / 0.7311 GB, free: 324 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.6201, allocations: 80.52 kB / 0.7312 GB, free: 240 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.6202, allocations: 69.2 kB / 0.7312 GB, free: 184 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.6202, allocations: 42.11 kB / 0.7313 GB, free: 152 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6204, allocations: 323.8 kB / 0.7316 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.6204, allocations: 34.97 kB / 0.7316 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.6205, allocations: 67.73 kB / 0.7317 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.6207, allocations: 118.8 kB / 0.7318 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.6207, allocations: 0 / 0.7318 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002317/0.6209, allocations: 155 kB / 0.732 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.621, allocations: 7.656 kB / 0.732 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.621, allocations: 3.594 kB / 0.732 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.621, allocations: 4.781 kB / 0.732 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.6212, allocations: 37.72 kB / 0.732 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.6212, allocations: 2.219 kB / 0.732 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.6213, allocations: 13.25 kB / 0.732 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.6213, allocations: 7.25 kB / 0.732 GB, free: 15.61 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.828e-05/0.6214, allocations: 122.2 kB / 0.7321 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.6214, allocations: 9.125 kB / 0.7322 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.6215, allocations: 19.98 kB / 0.7322 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6215, allocations: 1.938 kB / 0.7322 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6215, allocations: 0 / 0.7322 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6215, allocations: 3.938 kB / 0.7322 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.6217, allocations: 197.7 kB / 0.7324 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6217, allocations: 4 kB / 0.7324 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.6219, allocations: 36.56 kB / 0.7324 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6219, allocations: 1.156 kB / 0.7324 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.6219, allocations: 5.219 kB / 0.7324 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6219, allocations: 5.094 kB / 0.7324 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6219, allocations: 3.312 kB / 0.7324 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.6222, allocations: 213.6 kB / 0.7326 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.6223, allocations: 94.92 kB / 0.7327 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.6224, allocations: 7.234 kB / 0.7327 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6225, allocations: 8.609 kB / 0.7327 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.6225, allocations: 9.109 kB / 0.7327 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.6226, allocations: 16.36 kB / 0.7327 GB, free: 15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.6226, allocations: 79.53 kB / 0.7328 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6226, allocations: 0 / 0.7328 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002287/0.6228, allocations: 28.47 kB / 0.7329 GB, free: 14.92 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.0001427/0.623, allocations: 107.3 kB / 0.733 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.6232, allocations: 105.1 kB / 0.7331 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6232, allocations: 1.688 kB / 0.7331 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.6233, allocations: 56.69 kB / 0.7331 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.6236, allocations: 12.55 kB / 0.7331 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.6245, allocations: 0.5741 MB / 0.7337 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.6247, allocations: 0.6983 MB / 0.7344 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.6248, allocations: 16.25 kB / 0.7344 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.6248, allocations: 3.938 kB / 0.7344 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.002854/0.6277, allocations: 1.291 MB / 0.7356 GB, free: 13.53 MB / 0.5606 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)