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.0009053/0.0009054, allocations: 98.48 kB / 16.02 MB, free: 76 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.0008691/0.000869, allocations: 187 kB / 16.92 MB, free: 6.75 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9498/0.9498, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 8 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001417/0.1597, allocations: 1.048 MB / 0.5896 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3941/0.5539, allocations: 144.2 MB / 0.7305 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.554, allocations: 0 / 0.7305 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.554, allocations: 1.5 kB / 0.7305 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.5541, allocations: 14.41 kB / 0.7305 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.5552, allocations: 300 kB / 0.7308 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.5554, allocations: 86.94 kB / 0.7309 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.5554, allocations: 1.984 kB / 0.7309 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.5555, allocations: 28.22 kB / 0.7309 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.5556, allocations: 36.22 kB / 0.7309 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.5556, allocations: 3 kB / 0.7309 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.5567, allocations: 498 kB / 0.7314 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.5568, allocations: 28.19 kB / 0.7314 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.5568, allocations: 48.27 kB / 0.7315 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.5571, allocations: 115.7 kB / 0.7316 GB, free: 2.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5571, allocations: 0.6562 kB / 0.7316 GB, free: 2.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5571, allocations: 0 / 0.7316 GB, free: 2.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.5571, allocations: 0 / 0.7316 GB, free: 2.082 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.0004125/0.5576, allocations: 368.7 kB / 0.732 GB, free: 1.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5576, allocations: 9.469 kB / 0.732 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.558, allocations: 45.62 kB / 0.732 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.5581, allocations: 168 kB / 0.7322 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5582, allocations: 6.688 kB / 0.7322 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.5582, allocations: 10.09 kB / 0.7322 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.5584, allocations: 76.11 kB / 0.7323 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5584, allocations: 3.938 kB / 0.7323 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.5584, allocations: 5.906 kB / 0.7323 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5584, allocations: 1.219 kB / 0.7323 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.5585, allocations: 46.02 kB / 0.7323 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.5587, allocations: 193.7 kB / 0.7325 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5589, allocations: 91.23 kB / 0.7326 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.559, allocations: 32.39 kB / 0.7326 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.5592, allocations: 178.3 kB / 0.7328 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.5593, allocations: 36.66 kB / 0.7328 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.5593, allocations: 3.938 kB / 0.7328 GB, free: 0.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001316/0.5606, allocations: 0.5408 MB / 0.7333 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.5606, allocations: 59.52 kB / 0.7334 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.5607, allocations: 93.94 kB / 0.7335 GB, free: 416 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.5607, allocations: 32.33 kB / 0.7335 GB, free: 380 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.5608, allocations: 81.17 kB / 0.7336 GB, free: 296 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.5609, allocations: 68.75 kB / 0.7337 GB, free: 240 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.5609, allocations: 23.94 kB / 0.7337 GB, free: 220 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.561, allocations: 322.4 kB / 0.734 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.5611, allocations: 39.22 kB / 0.734 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.5612, allocations: 76.91 kB / 0.7341 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.5614, allocations: 111.5 kB / 0.7342 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5614, allocations: 0 / 0.7342 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002485/0.5616, allocations: 161 kB / 0.7344 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5617, allocations: 5.5 kB / 0.7344 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5617, allocations: 5.609 kB / 0.7344 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5617, allocations: 6.156 kB / 0.7344 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.5619, allocations: 38.83 kB / 0.7344 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5619, allocations: 3.234 kB / 0.7344 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.562, allocations: 9.875 kB / 0.7344 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.562, allocations: 13.39 kB / 0.7344 GB, free: 15.66 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.536e-05/0.5621, allocations: 118.6 kB / 0.7346 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.5621, allocations: 5.875 kB / 0.7346 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.5622, allocations: 18.2 kB / 0.7346 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5622, allocations: 1.938 kB / 0.7346 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5622, allocations: 8.594 kB / 0.7346 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5622, allocations: 5.906 kB / 0.7346 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.5624, allocations: 195.5 kB / 0.7348 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5624, allocations: 0.9375 kB / 0.7348 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.5626, allocations: 34.69 kB / 0.7348 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5626, allocations: 1.688 kB / 0.7348 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.5626, allocations: 5.219 kB / 0.7348 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5626, allocations: 1.641 kB / 0.7348 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5626, allocations: 0 / 0.7348 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.563, allocations: 216.7 kB / 0.735 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.5631, allocations: 93.56 kB / 0.7351 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.5631, allocations: 6.922 kB / 0.7351 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5632, allocations: 9.375 kB / 0.7351 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.5633, allocations: 8.719 kB / 0.7351 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.5633, allocations: 13.55 kB / 0.7352 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.5633, allocations: 77.44 kB / 0.7352 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5633, allocations: 0 / 0.7352 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002329/0.5636, allocations: 30.19 kB / 0.7353 GB, free: 14.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.0001408/0.5637, allocations: 103.3 kB / 0.7354 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.5639, allocations: 112.1 kB / 0.7355 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5639, allocations: 1.156 kB / 0.7355 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.564, allocations: 54.48 kB / 0.7355 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.5643, allocations: 17.81 kB / 0.7355 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.5652, allocations: 0.6526 MB / 0.7362 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.5654, allocations: 0.699 MB / 0.7369 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.5655, allocations: 19.62 kB / 0.7369 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5655, allocations: 1.062 kB / 0.7369 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.003205/0.5687, allocations: 1.285 MB / 0.7381 GB, free: 13.56 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)