Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.722/0.722, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 404.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 103.7 kB / 485.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 59.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1508, allocations: 80.42 MB / 0.6421 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003411/0.1543, allocations: 1.592 MB / 0.6437 GB, free: 3.789 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000463/0.1548, allocations: 121.8 kB / 0.6438 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.1549, allocations: 0 / 0.6438 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.155, allocations: 3.938 kB / 0.6438 GB, free: 3.664 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.1551, allocations: 7.938 kB / 0.6438 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1554, allocations: 23.97 kB / 0.6438 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1555, allocations: 59.83 kB / 0.6439 GB, free: 3.574 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1557, allocations: 23.98 kB / 0.6439 GB, free: 3.551 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.1557, allocations: 19.92 kB / 0.6439 GB, free: 3.531 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.1558, allocations: 31.84 kB / 0.644 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1558, allocations: 4 kB / 0.644 GB, free: 3.496 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.1559, allocations: 4 kB / 0.644 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.156, allocations: 15.98 kB / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.156, allocations: 31.8 kB / 0.644 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1562, allocations: 55.8 kB / 0.6441 GB, free: 3.391 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1562, allocations: 0 / 0.6441 GB, free: 3.391 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1562, allocations: 0 / 0.6441 GB, free: 3.391 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1562, allocations: 0 / 0.6441 GB, free: 3.391 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005855/0.1568, allocations: 375.6 kB / 0.6444 GB, free: 2.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1568, allocations: 8.031 kB / 0.6444 GB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1569, allocations: 12.84 kB / 0.6445 GB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1571, allocations: 188.2 kB / 0.6446 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1571, allocations: 384 / 0.6446 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1571, allocations: 8.375 kB / 0.6446 GB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1574, allocations: 94.12 kB / 0.6447 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1575, allocations: 192 / 0.6447 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1575, allocations: 7.922 kB / 0.6447 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1575, allocations: 0 / 0.6447 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.1578, allocations: 87.86 kB / 0.6448 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.1584, allocations: 328.6 kB / 0.6451 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1587, allocations: 62.53 kB / 0.6452 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1589, allocations: 36.91 kB / 0.6452 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.1589, allocations: 4 kB / 0.6452 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.159, allocations: 38.53 kB / 0.6453 GB, free: 2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.159, allocations: 4 kB / 0.6453 GB, free: 1.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005703/0.1595, allocations: 137.5 kB / 0.6454 GB, free: 1.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1596, allocations: 55.41 kB / 0.6455 GB, free: 1.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1597, allocations: 113.8 kB / 0.6456 GB, free: 1.668 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1597, allocations: 29.7 kB / 0.6456 GB, free: 1.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.1598, allocations: 96.08 kB / 0.6457 GB, free: 1.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1598, allocations: 11.8 kB / 0.6457 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1599, allocations: 17.72 kB / 0.6457 GB, free: 1.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.16, allocations: 314.8 kB / 0.646 GB, free: 1.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1602, allocations: 35.95 kB / 0.646 GB, free: 1.148 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1603, allocations: 35.97 kB / 0.6461 GB, free: 1.113 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.1606, allocations: 80.7 kB / 0.6462 GB, free: 1.031 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1606, allocations: 0 / 0.6462 GB, free: 1.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003409/0.161, allocations: 97.62 kB / 0.6463 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.161, allocations: 8 kB / 0.6463 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.161, allocations: 4 kB / 0.6463 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.161, allocations: 0 / 0.6463 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1612, allocations: 19.97 kB / 0.6463 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1612, allocations: 0 / 0.6463 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.1613, allocations: 11.98 kB / 0.6463 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1613, allocations: 0 / 0.6463 GB, free: 0.8867 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.823e-05/0.1614, allocations: 121.8 kB / 0.6464 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1614, allocations: 7.906 kB / 0.6464 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.1618, allocations: 113.4 kB / 0.6465 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1619, allocations: 4 kB / 0.6465 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1619, allocations: 0 / 0.6465 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1619, allocations: 0 / 0.6465 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1621, allocations: 181.6 kB / 0.6467 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1621, allocations: 4 kB / 0.6467 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.1622, allocations: 15.98 kB / 0.6467 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1622, allocations: 4.359 kB / 0.6467 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1622, allocations: 3.938 kB / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1623, allocations: 0 / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1623, allocations: 0 / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.1631, allocations: 0.7902 MB / 0.6475 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.1632, allocations: 88.95 kB / 0.6476 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1632, allocations: 0 / 0.6476 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1633, allocations: 19.91 kB / 0.6476 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.1634, allocations: 11.94 kB / 0.6476 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1634, allocations: 0 / 0.6476 GB, free: 15.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.03e-05/0.1635, allocations: 91.27 kB / 0.6477 GB, free: 15.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1635, allocations: 0 / 0.6477 GB, free: 15.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.1638, allocations: 15.94 kB / 0.6477 GB, free: 15.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.000157/0.164, allocations: 95.25 kB / 0.6478 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.1644, allocations: 83.91 kB / 0.6479 GB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1644, allocations: 0 / 0.6479 GB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1645, allocations: 39.95 kB / 0.6479 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1649, allocations: 2.25 kB / 0.6479 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.1654, allocations: 285.9 kB / 0.6482 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1657, allocations: 0.6887 MB / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.1658, allocations: 7.906 kB / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1658, allocations: 11.44 kB / 0.6489 GB, free: 14 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1658, allocations: 0 / 0.6489 GB, free: 14 MB / 458.7 MB Notification: Performance of Templates: time 0.002748/0.1686, allocations: 0.6448 MB / 0.6495 GB, free: 13.37 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)