Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001685/0.001685, allocations: 187 kB / 17.34 MB, free: 5.762 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7882/0.7882, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.28 kB / 0.582 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1446, allocations: 80.21 MB / 0.6604 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00173/0.1464, allocations: 0.5836 MB / 0.6609 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002319/0.1467, allocations: 31.89 kB / 0.661 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.1467, allocations: 0 / 0.661 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.1467, allocations: 0 / 0.661 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.511e-05/0.1468, allocations: 3.984 kB / 0.661 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.147, allocations: 15.98 kB / 0.661 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.1471, allocations: 0 / 0.661 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.1471, allocations: 7.984 kB / 0.661 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.1472, allocations: 3.938 kB / 0.661 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.1472, allocations: 4 kB / 0.661 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1472, allocations: 4 kB / 0.661 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.1473, allocations: 27.92 kB / 0.661 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.1473, allocations: 0 / 0.661 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1474, allocations: 7.938 kB / 0.661 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.1475, allocations: 23.91 kB / 0.6611 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1475, allocations: 3.984 kB / 0.6611 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1475, allocations: 0 / 0.6611 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.1475, allocations: 0 / 0.6611 GB, free: 9.621 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003398/0.1478, allocations: 349.3 kB / 0.6614 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1479, allocations: 16.02 kB / 0.6614 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1479, allocations: 0.9375 kB / 0.6614 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.148, allocations: 166.9 kB / 0.6616 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1481, allocations: 384 / 0.6616 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1481, allocations: 4.375 kB / 0.6616 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1482, allocations: 54.25 kB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1482, allocations: 192 / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1482, allocations: 3.938 kB / 0.6616 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.1483, allocations: 7.938 kB / 0.6616 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.1483, allocations: 27.98 kB / 0.6617 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1487, allocations: 272.8 kB / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.1487, allocations: 14.58 kB / 0.6619 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.1488, allocations: 8.922 kB / 0.662 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.1488, allocations: 3.984 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1488, allocations: 34.5 kB / 0.662 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.1488, allocations: 7.938 kB / 0.662 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.149, allocations: 71.31 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.149, allocations: 77.11 kB / 0.6621 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.1491, allocations: 113.8 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1491, allocations: 25.7 kB / 0.6623 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.1492, allocations: 103.8 kB / 0.6624 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.1492, allocations: 0 / 0.6624 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.1493, allocations: 29.61 kB / 0.6624 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1494, allocations: 331.2 kB / 0.6627 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.1494, allocations: 7.984 kB / 0.6627 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.1495, allocations: 63.11 kB / 0.6628 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1496, allocations: 134.2 kB / 0.6629 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1496, allocations: 3.984 kB / 0.6629 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001406/0.1497, allocations: 119.2 kB / 0.663 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.1498, allocations: 33.7 kB / 0.6631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1498, allocations: 0 / 0.6631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1498, allocations: 7.984 kB / 0.6631 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.1499, allocations: 11.94 kB / 0.6631 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1499, allocations: 4 kB / 0.6631 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.15, allocations: 19.83 kB / 0.6631 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.15, allocations: 4.25 kB / 0.6631 GB, free: 7.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.8e-05/0.1501, allocations: 148.4 kB / 0.6633 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1501, allocations: 0 / 0.6633 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.1502, allocations: 11.53 kB / 0.6633 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1502, allocations: 0 / 0.6633 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1502, allocations: 3.984 kB / 0.6633 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1502, allocations: 0 / 0.6633 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1503, allocations: 149.6 kB / 0.6634 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1503, allocations: 3.984 kB / 0.6634 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.1503, allocations: 4 kB / 0.6634 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1504, allocations: 4 kB / 0.6634 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1504, allocations: 7.938 kB / 0.6634 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1504, allocations: 0 / 0.6634 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1504, allocations: 0 / 0.6634 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1505, allocations: 165.2 kB / 0.6636 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.1505, allocations: 81.02 kB / 0.6637 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1506, allocations: 4 kB / 0.6637 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.1506, allocations: 8.031 kB / 0.6637 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.1506, allocations: 0 / 0.6637 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1507, allocations: 0 / 0.6637 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.1507, allocations: 87.27 kB / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1507, allocations: 0 / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000249/0.151, allocations: 23.88 kB / 0.6638 GB, free: 6.418 MB / 0.4981 GB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001478/0.1511, allocations: 103.2 kB / 0.6639 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.1513, allocations: 95.31 kB / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1513, allocations: 0 / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.1513, allocations: 55.41 kB / 0.664 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.1515, allocations: 4 kB / 0.664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.1518, allocations: 141.5 kB / 0.6642 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.152, allocations: 0.6768 MB / 0.6648 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.152, allocations: 11.44 kB / 0.6648 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.152, allocations: 0.5 kB / 0.6648 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.002068/0.1541, allocations: 0.6799 MB / 0.6655 GB, free: 4.574 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)