Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001336/0.001336, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 196.1 kB / 16.26 MB, free: 6.629 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.952/0.952, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001849, allocations: 71.2 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1665, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001736/0.1683, allocations: 0.6387 MB / 0.5851 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.1685, allocations: 39.88 kB / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.1686, allocations: 0 / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.1686, allocations: 0 / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.1687, allocations: 0 / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.1688, allocations: 19.97 kB / 0.5852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.1689, allocations: 4 kB / 0.5852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.048e-05/0.1689, allocations: 0 / 0.5852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.169, allocations: 4 kB / 0.5852 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.955e-05/0.169, allocations: 11.88 kB / 0.5852 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.169, allocations: 0 / 0.5852 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/0.1691, allocations: 19.98 kB / 0.5852 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.1691, allocations: 7.984 kB / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1692, allocations: 3.938 kB / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.1693, allocations: 27.91 kB / 0.5853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1693, allocations: 0 / 0.5853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1693, allocations: 0 / 0.5853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1693, allocations: 0 / 0.5853 GB, free: 3.551 MB / 494.1 MB 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.0003864/0.1697, allocations: 349.3 kB / 0.5856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1697, allocations: 12.03 kB / 0.5856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1698, allocations: 8.844 kB / 0.5856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1699, allocations: 164.6 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.1699, allocations: 384 / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1699, allocations: 4.375 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1701, allocations: 62.17 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1701, allocations: 192 / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1701, allocations: 3.938 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1701, allocations: 4 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.1702, allocations: 27.98 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1705, allocations: 272.8 kB / 0.5861 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.1706, allocations: 14.58 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.1706, allocations: 8.922 kB / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.1706, allocations: 0 / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1706, allocations: 34.5 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1706, allocations: 4 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.1708, allocations: 71.39 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1709, allocations: 81.05 kB / 0.5863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.171, allocations: 109.8 kB / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.171, allocations: 25.7 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.1711, allocations: 107.8 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-06/0.1711, allocations: 3.906 kB / 0.5866 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1711, allocations: 25.72 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1713, allocations: 322.9 kB / 0.5869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.1713, allocations: 12 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.1714, allocations: 63.11 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1715, allocations: 130.1 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.1715, allocations: 4 kB / 0.5871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001445/0.1717, allocations: 119.2 kB / 0.5872 GB, free: 1.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1717, allocations: 29.7 kB / 0.5872 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1717, allocations: 7.938 kB / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1717, allocations: 0 / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.1718, allocations: 19.92 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1718, allocations: 4.156 kB / 0.5873 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.1719, allocations: 7.906 kB / 0.5873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1719, allocations: 8.25 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB 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 0.0001004/0.172, allocations: 151.4 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.172, allocations: 4 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.1721, allocations: 7.516 kB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1721, allocations: 0 / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1721, allocations: 4 kB / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1721, allocations: 0 / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1722, allocations: 157.6 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1722, allocations: 3.938 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1722, allocations: 0 / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1723, allocations: 4 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1723, allocations: 0 / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1723, allocations: 3.984 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1723, allocations: 0 / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1724, allocations: 173.1 kB / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.1725, allocations: 77.11 kB / 0.5878 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1725, allocations: 0 / 0.5878 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.1725, allocations: 8.016 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.1726, allocations: 4 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.1726, allocations: 0 / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.1726, allocations: 91.27 kB / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1726, allocations: 0 / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1729, allocations: 11.94 kB / 0.588 GB, free: 368 kB / 494.1 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 (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.0001532/0.173, allocations: 107.2 kB / 0.5881 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1732, allocations: 99.39 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1732, allocations: 0 / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.1732, allocations: 55.41 kB / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.1734, allocations: 4 kB / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.1737, allocations: 120.9 kB / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.174, allocations: 0.6792 MB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.669e-05/0.174, allocations: 20.3 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.1741, allocations: 7.438 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1741, allocations: 0 / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.002688/0.1768, allocations: 0.5116 MB / 0.5895 GB, free: 14.69 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)