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-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_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.0009228/0.0009227, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008965/0.0008965, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8712/0.8712, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 14.78 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006142/0.159, allocations: 306.7 kB / 0.5875 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.1591, allocations: 35.91 kB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.1592, allocations: 0 / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.1592, allocations: 0 / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.005e-05/0.1592, allocations: 4 kB / 0.5875 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1594, allocations: 11.98 kB / 0.5875 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.981e-05/0.1594, allocations: 0 / 0.5875 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1595, allocations: 4 kB / 0.5876 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.1595, allocations: 0 / 0.5876 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.558e-05/0.1595, allocations: 7.984 kB / 0.5876 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1595, allocations: 0 / 0.5876 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1596, allocations: 19.92 kB / 0.5876 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.1596, allocations: 4 kB / 0.5876 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1597, allocations: 29.69 kB / 0.5876 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.726e-05/0.1597, allocations: 19.98 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1597, allocations: 0 / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1597, allocations: 3.938 kB / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1598, allocations: 0 / 0.5876 GB, free: 2.695 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.0002723/0.16, allocations: 345.1 kB / 0.588 GB, free: 2.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.1601, allocations: 8.031 kB / 0.588 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.1601, allocations: 7.891 kB / 0.588 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.512e-05/0.1602, allocations: 171.2 kB / 0.5881 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1602, allocations: 7.922 kB / 0.5882 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1602, allocations: 7.938 kB / 0.5882 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1603, allocations: 53.69 kB / 0.5882 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1604, allocations: 0 / 0.5882 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1604, allocations: 0 / 0.5882 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1604, allocations: 8 kB / 0.5882 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.1604, allocations: 23.98 kB / 0.5882 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.1607, allocations: 268.8 kB / 0.5885 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.1608, allocations: 26.52 kB / 0.5885 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.1608, allocations: 0 / 0.5885 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.1608, allocations: 30.56 kB / 0.5886 GB, free: 1.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1608, allocations: 0 / 0.5886 GB, free: 1.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.161, allocations: 71.45 kB / 0.5886 GB, free: 1.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.1611, allocations: 81.06 kB / 0.5887 GB, free: 1.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.1611, allocations: 110.1 kB / 0.5888 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1612, allocations: 25.7 kB / 0.5888 GB, free: 1.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.1612, allocations: 115.8 kB / 0.5889 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.1612, allocations: 3.906 kB / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.1613, allocations: 0 / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1614, allocations: 318.8 kB / 0.5892 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.1614, allocations: 7.984 kB / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.1615, allocations: 66.92 kB / 0.5893 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.1615, allocations: 49.69 kB / 0.5894 GB, free: 0.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1615, allocations: 0 / 0.5894 GB, free: 0.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001264/0.1616, allocations: 119.2 kB / 0.5895 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.1617, allocations: 33.7 kB / 0.5895 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1617, allocations: 0 / 0.5895 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1617, allocations: 4 kB / 0.5895 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.1618, allocations: 11.94 kB / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1618, allocations: 15.88 kB / 0.5895 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.1619, allocations: 11.91 kB / 0.5895 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1619, allocations: 8 kB / 0.5896 GB, free: 460 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.162, allocations: 143.7 kB / 0.5897 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.162, allocations: 4 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.162, allocations: 11.52 kB / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.162, allocations: 0 / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1621, allocations: 0 / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1621, allocations: 7.953 kB / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1622, allocations: 149.7 kB / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1622, allocations: 0 / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1622, allocations: 0 / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1622, allocations: 0 / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1622, allocations: 11.94 kB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1622, allocations: 3.938 kB / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1622, allocations: 0 / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1623, allocations: 165.2 kB / 0.59 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.1624, allocations: 85.02 kB / 0.5901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1624, allocations: 4 kB / 0.5901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.1625, allocations: 0 / 0.5901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.1625, allocations: 4.031 kB / 0.5901 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1625, allocations: 4 kB / 0.5901 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.1625, allocations: 83.27 kB / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1625, allocations: 4 kB / 0.5902 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002216/0.1628, allocations: 12 kB / 0.5902 GB, free: 15.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.1629, allocations: 107.3 kB / 0.5903 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.163, allocations: 87.7 kB / 0.5904 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.163, allocations: 4.062 kB / 0.5904 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.1631, allocations: 55.41 kB / 0.5905 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.1632, allocations: 7.953 kB / 0.5905 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.1634, allocations: 110.7 kB / 0.5906 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1636, allocations: 0.6848 MB / 0.5912 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.1637, allocations: 16.23 kB / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-06/0.1637, allocations: 7.438 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1637, allocations: 0 / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.002176/0.1659, allocations: 486.2 kB / 0.5917 GB, free: 14.03 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: