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.0008332/0.0008333, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.000889/0.0008889, allocations: 172.7 kB / 15.95 MB, free: 208 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.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6664/0.6664, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 16.81 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3237, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005415/0.3243, allocations: 314.8 kB / 0.5834 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.3245, allocations: 38.38 kB / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.3245, allocations: 0 / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.3245, allocations: 0 / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.3246, allocations: 5.969 kB / 0.5834 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.3247, allocations: 9.047 kB / 0.5834 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.192e-05/0.3248, allocations: 7.25 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.3248, allocations: 1.719 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.3249, allocations: 3.266 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.505e-05/0.3249, allocations: 1.625 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3249, allocations: 0.5625 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.325, allocations: 20.59 kB / 0.5835 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.325, allocations: 7.312 kB / 0.5835 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.325, allocations: 34.36 kB / 0.5835 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.73e-05/0.3251, allocations: 24.3 kB / 0.5835 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3251, allocations: 0 / 0.5835 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3251, allocations: 0 / 0.5835 GB, free: 3.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.3251, allocations: 0 / 0.5835 GB, free: 3.664 MB / 430.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.0001892/0.3253, allocations: 342.1 kB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.3254, allocations: 10.08 kB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.3254, allocations: 5.25 kB / 0.5839 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.087e-05/0.3254, allocations: 167.1 kB / 0.584 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3255, allocations: 4.844 kB / 0.584 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.3255, allocations: 5.5 kB / 0.584 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3256, allocations: 53.48 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3256, allocations: 1.453 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3256, allocations: 0 / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.3256, allocations: 7 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.3257, allocations: 27.23 kB / 0.5841 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.3259, allocations: 265.1 kB / 0.5844 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.678e-05/0.326, allocations: 26.23 kB / 0.5844 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.326, allocations: 7.625 kB / 0.5844 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.326, allocations: 0 / 0.5844 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.326, allocations: 36.81 kB / 0.5844 GB, free: 2.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.326, allocations: 0 / 0.5844 GB, free: 2.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.3262, allocations: 68.75 kB / 0.5845 GB, free: 2.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.3262, allocations: 77.11 kB / 0.5846 GB, free: 2.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.3263, allocations: 123.4 kB / 0.5847 GB, free: 2.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.3263, allocations: 26.55 kB / 0.5847 GB, free: 2.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.3263, allocations: 101.1 kB / 0.5848 GB, free: 2.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-06/0.3263, allocations: 10.16 kB / 0.5848 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.3263, allocations: 0 / 0.5848 GB, free: 2.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.3264, allocations: 313.8 kB / 0.5851 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.3264, allocations: 12.22 kB / 0.5851 GB, free: 1.941 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.3264, allocations: 70.58 kB / 0.5852 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.3265, allocations: 43.91 kB / 0.5853 GB, free: 1.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3265, allocations: 1.531 kB / 0.5853 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/0.3266, allocations: 123.7 kB / 0.5854 GB, free: 1.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3266, allocations: 34.41 kB / 0.5854 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3267, allocations: 6.078 kB / 0.5854 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3267, allocations: 2.312 kB / 0.5854 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.3267, allocations: 12.47 kB / 0.5854 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3267, allocations: 3.625 kB / 0.5854 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.3268, allocations: 12.78 kB / 0.5854 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3268, allocations: 9.359 kB / 0.5855 GB, free: 1.691 MB / 430.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 5.014e-05/0.3269, allocations: 144.8 kB / 0.5856 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.3269, allocations: 5.891 kB / 0.5856 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.3269, allocations: 13.17 kB / 0.5856 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3269, allocations: 4.578 kB / 0.5856 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3269, allocations: 1.594 kB / 0.5856 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.3269, allocations: 0 / 0.5856 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.806e-05/0.327, allocations: 149.3 kB / 0.5858 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.327, allocations: 1.297 kB / 0.5858 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.327, allocations: 4 kB / 0.5858 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3271, allocations: 0.875 kB / 0.5858 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3271, allocations: 1.219 kB / 0.5858 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3271, allocations: 0.6875 kB / 0.5858 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3271, allocations: 6.062 kB / 0.5858 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.778e-05/0.3271, allocations: 163.9 kB / 0.5859 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.3272, allocations: 81.58 kB / 0.586 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3272, allocations: 10 kB / 0.586 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.3272, allocations: 2.016 kB / 0.586 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.3273, allocations: 5.75 kB / 0.586 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.3273, allocations: 6.469 kB / 0.586 GB, free: 1.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.3273, allocations: 84.73 kB / 0.5861 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3273, allocations: 0.75 kB / 0.5861 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3275, allocations: 10.16 kB / 0.5861 GB, free: 0.9727 MB / 430.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 (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.0001061/0.3276, allocations: 105.7 kB / 0.5862 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3278, allocations: 87.09 kB / 0.5863 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3278, allocations: 1.125 kB / 0.5863 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.3278, allocations: 56.12 kB / 0.5864 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.328, allocations: 2.312 kB / 0.5864 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001459/0.3281, allocations: 118.4 kB / 0.5865 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3282, allocations: 0.682 MB / 0.5871 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.3283, allocations: 11.75 kB / 0.5871 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-06/0.3283, allocations: 9.656 kB / 0.5872 GB, free: 15.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.8e-07/0.3283, allocations: 0 / 0.5872 GB, free: 15.91 MB / 446.1 MB Notification: Performance of Templates: time 0.002219/0.3306, allocations: 486.1 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB 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)