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.001469/0.001469, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001487/0.001487, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8465/0.8465, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 80.91 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001656/0.3205, allocations: 0.5728 MB / 0.5856 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.3208, allocations: 37.34 kB / 0.5857 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.3208, allocations: 1.25 kB / 0.5857 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.3208, allocations: 4.531 kB / 0.5857 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.827e-05/0.3209, allocations: 2.094 kB / 0.5857 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.321, allocations: 12.89 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.3211, allocations: 3.281 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3212, allocations: 7.562 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.3212, allocations: 1.531 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.3212, allocations: 5.484 kB / 0.5857 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3212, allocations: 3.938 kB / 0.5857 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-05/0.3213, allocations: 20.73 kB / 0.5857 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3213, allocations: 2.75 kB / 0.5857 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.3214, allocations: 13.11 kB / 0.5857 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.644e-05/0.3214, allocations: 15.64 kB / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.3215, allocations: 0 / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3215, allocations: 0 / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3215, allocations: 4.906 kB / 0.5858 GB, free: 24.75 MB / 446.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.0002367/0.3217, allocations: 354.2 kB / 0.5861 GB, free: 24.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3217, allocations: 11.58 kB / 0.5861 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.3218, allocations: 4.844 kB / 0.5861 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.789e-05/0.3218, allocations: 167.5 kB / 0.5863 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3219, allocations: 2.219 kB / 0.5863 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-06/0.3219, allocations: 2.938 kB / 0.5863 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.322, allocations: 54.81 kB / 0.5863 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.322, allocations: 192 / 0.5863 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.322, allocations: 4.781 kB / 0.5863 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.322, allocations: 9.625 kB / 0.5863 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.129e-05/0.3221, allocations: 28.14 kB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.3223, allocations: 267.2 kB / 0.5866 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.3224, allocations: 18.73 kB / 0.5866 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.3224, allocations: 6.797 kB / 0.5866 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.3224, allocations: 2.219 kB / 0.5866 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3224, allocations: 35.22 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3224, allocations: 0.9062 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000152/0.3226, allocations: 70.64 kB / 0.5867 GB, free: 23.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3226, allocations: 79.36 kB / 0.5868 GB, free: 23.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.3227, allocations: 122.2 kB / 0.5869 GB, free: 23.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.3227, allocations: 25.7 kB / 0.587 GB, free: 23.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.3227, allocations: 99.31 kB / 0.5871 GB, free: 23.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-06/0.3227, allocations: 10.28 kB / 0.5871 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.3228, allocations: 21.47 kB / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.822e-05/0.3228, allocations: 325 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.3228, allocations: 7.312 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.3229, allocations: 60.45 kB / 0.5875 GB, free: 22.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.323, allocations: 131 kB / 0.5876 GB, free: 22.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.323, allocations: 1.781 kB / 0.5876 GB, free: 22.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.3231, allocations: 122 kB / 0.5877 GB, free: 22.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3231, allocations: 39.41 kB / 0.5877 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3231, allocations: 3.031 kB / 0.5877 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3231, allocations: 2.062 kB / 0.5878 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.3232, allocations: 12.81 kB / 0.5878 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3232, allocations: 10.34 kB / 0.5878 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.3233, allocations: 12 kB / 0.5878 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3233, allocations: 6.062 kB / 0.5878 GB, free: 22.6 MB / 446.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 5.4e-05/0.3234, allocations: 150 kB / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.3234, allocations: 2.031 kB / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-06/0.3234, allocations: 4.594 kB / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3234, allocations: 3.406 kB / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3234, allocations: 0 / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3234, allocations: 0 / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.3235, allocations: 158.5 kB / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3235, allocations: 0 / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.3235, allocations: 1.5 kB / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3236, allocations: 1.094 kB / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3236, allocations: 1.375 kB / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3236, allocations: 0 / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3236, allocations: 5.703 kB / 0.5881 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.821e-05/0.3237, allocations: 169.8 kB / 0.5883 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.3237, allocations: 82.72 kB / 0.5883 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3237, allocations: 5.828 kB / 0.5883 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.3238, allocations: 2.594 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3238, allocations: 1.094 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3238, allocations: 1.812 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3e-05/0.3238, allocations: 91.73 kB / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3238, allocations: 0 / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.3241, allocations: 18.06 kB / 0.5885 GB, free: 21.88 MB / 446.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.0001332/0.3242, allocations: 106.1 kB / 0.5886 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3243, allocations: 83.11 kB / 0.5886 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3243, allocations: 0 / 0.5886 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.3244, allocations: 59.56 kB / 0.5887 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.3246, allocations: 14.52 kB / 0.5887 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.3248, allocations: 126 kB / 0.5888 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.59e-05/0.3249, allocations: 0.6809 MB / 0.5895 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.035e-05/0.3249, allocations: 8.938 kB / 0.5895 GB, free: 20.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3249, allocations: 0 / 0.5895 GB, free: 20.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002117/0.327, allocations: 0.675 MB / 0.5902 GB, free: 20.5 MB / 446.1 MB 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)