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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002655/0.002655, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8769/0.8769, allocations: 134 MB / 438.5 MB, free: 14.05 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 0.6084 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.513, allocations: 84.67 MB / 0.6911 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001667/0.5147, allocations: 0.5889 MB / 0.6917 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.515, allocations: 45.17 kB / 0.6917 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.515, allocations: 0 / 0.6917 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.515, allocations: 0 / 0.6917 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.5151, allocations: 6.234 kB / 0.6917 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.5153, allocations: 8.703 kB / 0.6917 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.5153, allocations: 6.031 kB / 0.6917 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.5154, allocations: 6.203 kB / 0.6917 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.5154, allocations: 5.062 kB / 0.6917 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.5155, allocations: 4.969 kB / 0.6917 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.5155, allocations: 0 / 0.6917 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.5155, allocations: 21.05 kB / 0.6918 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.5156, allocations: 6.125 kB / 0.6918 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.5156, allocations: 5.281 kB / 0.6918 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.907e-05/0.5157, allocations: 30.14 kB / 0.6918 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5157, allocations: 0 / 0.6918 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5157, allocations: 0 / 0.6918 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5157, allocations: 1 kB / 0.6918 GB, free: 1.641 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.0003209/0.516, allocations: 348.8 kB / 0.6921 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5161, allocations: 10 kB / 0.6921 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.5161, allocations: 9.922 kB / 0.6921 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.757e-05/0.5162, allocations: 160.4 kB / 0.6923 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5162, allocations: 1.625 kB / 0.6923 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.5162, allocations: 1.781 kB / 0.6923 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5163, allocations: 62.5 kB / 0.6924 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5163, allocations: 192 / 0.6924 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5163, allocations: 5.062 kB / 0.6924 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.5164, allocations: 9.297 kB / 0.6924 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.5164, allocations: 23.27 kB / 0.6924 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.5167, allocations: 271.2 kB / 0.6927 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.5167, allocations: 21.23 kB / 0.6927 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.5168, allocations: 10.03 kB / 0.6927 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.5168, allocations: 3.938 kB / 0.6927 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.5168, allocations: 31.69 kB / 0.6927 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5168, allocations: 1.25 kB / 0.6927 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.5169, allocations: 64.56 kB / 0.6928 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.517, allocations: 82.16 kB / 0.6929 GB, free: 456 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.517, allocations: 114.3 kB / 0.693 GB, free: 344 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.517, allocations: 27.98 kB / 0.693 GB, free: 312 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.5171, allocations: 101.5 kB / 0.6931 GB, free: 208 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.5171, allocations: 5.594 kB / 0.6931 GB, free: 204 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.5171, allocations: 25.02 kB / 0.6931 GB, free: 180 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5172, allocations: 316.3 kB / 0.6934 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.5173, allocations: 23.3 kB / 0.6934 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.149e-05/0.5173, allocations: 57.02 kB / 0.6935 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.5175, allocations: 132.5 kB / 0.6936 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5175, allocations: 0 / 0.6936 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001667/0.5176, allocations: 128.4 kB / 0.6938 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.5177, allocations: 32.89 kB / 0.6938 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5177, allocations: 1.281 kB / 0.6938 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5177, allocations: 6.984 kB / 0.6938 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.5178, allocations: 17.25 kB / 0.6938 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5178, allocations: 7.141 kB / 0.6938 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.5178, allocations: 8.562 kB / 0.6938 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5179, allocations: 4.75 kB / 0.6938 GB, free: 15.47 MB / 0.5137 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 0.00011/0.518, allocations: 149.5 kB / 0.694 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.518, allocations: 5.766 kB / 0.694 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.518, allocations: 9.453 kB / 0.694 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.518, allocations: 0 / 0.694 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.518, allocations: 0 / 0.694 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.518, allocations: 0.9062 kB / 0.694 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.5182, allocations: 162.1 kB / 0.6941 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5182, allocations: 0 / 0.6941 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5182, allocations: 0 / 0.6941 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5182, allocations: 1.031 kB / 0.6941 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.5182, allocations: 9.25 kB / 0.6942 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.5182, allocations: 0 / 0.6942 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5182, allocations: 0 / 0.6942 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.5183, allocations: 165.9 kB / 0.6943 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.5184, allocations: 82.19 kB / 0.6944 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.5184, allocations: 1.156 kB / 0.6944 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.5184, allocations: 1.156 kB / 0.6944 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.5185, allocations: 1.094 kB / 0.6944 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.5185, allocations: 6.219 kB / 0.6944 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.5185, allocations: 91.02 kB / 0.6945 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5185, allocations: 0 / 0.6945 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002407/0.5188, allocations: 13.78 kB / 0.6945 GB, free: 14.73 MB / 0.5137 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.0001809/0.5189, allocations: 108 kB / 0.6946 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.5191, allocations: 87.52 kB / 0.6947 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5191, allocations: 4.188 kB / 0.6947 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.5191, allocations: 59.34 kB / 0.6947 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.5193, allocations: 4.656 kB / 0.6947 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.5196, allocations: 124.4 kB / 0.6949 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.52, allocations: 0.6779 MB / 0.6955 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.637e-05/0.5201, allocations: 11.14 kB / 0.6955 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.5201, allocations: 12.88 kB / 0.6956 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.5201, allocations: 0 / 0.6956 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.00322/0.5234, allocations: 0.5484 MB / 0.6961 GB, free: 13.38 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.867852360010147]