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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006823/0.0006823, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001704, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006865/0.0006865, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009148/0.001601, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08813/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.9014/0.9014, allocations: 154.6 MB / 398.5 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2669/1.168, allocations: 49.03 MB / 447.6 MB, free: 6.711 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.843e-06/1.843e-06, allocations: 0 / 448.9 MB, free: 5.359 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.371e-05, allocations: 2.312 kB / 448.9 MB, free: 5.355 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001937/0.001961, allocations: 0.6462 MB / 449.6 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.002093, allocations: 36.64 kB / 449.6 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.002114, allocations: 0 / 449.6 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.002138, allocations: 0 / 449.6 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.002162, allocations: 4.562 kB / 449.6 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.002284, allocations: 16.53 kB / 449.6 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.002371, allocations: 5.531 kB / 449.6 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.002411, allocations: 10.7 kB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.002456, allocations: 0.9844 kB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.002517, allocations: 7.984 kB / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.002534, allocations: 0.6562 kB / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.00264, allocations: 15.98 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.002671, allocations: 5.984 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.002688, allocations: 3.844 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.002803, allocations: 29.55 kB / 449.7 MB, free: 4.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.939e-05/0.002822, allocations: 0 / 449.7 MB, free: 4.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.002824, allocations: 4 kB / 449.7 MB, free: 4.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.002845, allocations: 0.875 kB / 449.7 MB, free: 4.625 MB / 426.7 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.0003678/0.003212, allocations: 250.4 kB / 450 MB, free: 4.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.003247, allocations: 8.031 kB / 450 MB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.003283, allocations: 8.922 kB / 450 MB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.003366, allocations: 114.9 kB / 450.1 MB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.003377, allocations: 384 / 450.1 MB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.003385, allocations: 4.375 kB / 450.1 MB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.003506, allocations: 68.55 kB / 450.2 MB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.003513, allocations: 192 / 450.2 MB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.003519, allocations: 2 kB / 450.2 MB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.003555, allocations: 13.03 kB / 450.2 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.003592, allocations: 41.62 kB / 450.2 MB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.003857, allocations: 172 kB / 450.4 MB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.003912, allocations: 49.47 kB / 450.4 MB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.003931, allocations: 30.56 kB / 450.5 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.003935, allocations: 0 / 450.5 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.003962, allocations: 40.06 kB / 450.5 MB, free: 3.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.003964, allocations: 1.031 kB / 450.5 MB, free: 3.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.004111, allocations: 123.4 kB / 450.6 MB, free: 3.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.004142, allocations: 53.5 kB / 450.7 MB, free: 3.516 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.004219, allocations: 110.8 kB / 450.8 MB, free: 3.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.004232, allocations: 29.7 kB / 450.8 MB, free: 3.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.004286, allocations: 107.9 kB / 450.9 MB, free: 3.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.004299, allocations: 4 kB / 450.9 MB, free: 3.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.004337, allocations: 18.38 kB / 450.9 MB, free: 3.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.004432, allocations: 323.7 kB / 451.3 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.004455, allocations: 29.7 kB / 451.3 MB, free: 2.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.004512, allocations: 81.47 kB / 451.4 MB, free: 2.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.004609, allocations: 127.6 kB / 451.5 MB, free: 2.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.004614, allocations: 4 kB / 451.5 MB, free: 2.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001383/0.004752, allocations: 132.6 kB / 451.6 MB, free: 2.441 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.004792, allocations: 33.7 kB / 451.7 MB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.004798, allocations: 0 / 451.7 MB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.004811, allocations: 4.562 kB / 451.7 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.00488, allocations: 12 kB / 451.7 MB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.004889, allocations: 16.92 kB / 451.7 MB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.004957, allocations: 11.89 kB / 451.7 MB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.004975, allocations: 9.156 kB / 451.7 MB, free: 2.352 MB / 426.7 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 7.387e-05/0.005048, allocations: 138.4 kB / 451.9 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.005073, allocations: 7.938 kB / 451.9 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.005088, allocations: 6.062 kB / 451.9 MB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.005093, allocations: 3.984 kB / 451.9 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.005094, allocations: 0 / 451.9 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005098, allocations: 2.344 kB / 451.9 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.005205, allocations: 61.91 kB / 451.9 MB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005206, allocations: 1.094 kB / 451.9 MB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.005207, allocations: 0.7656 kB / 451.9 MB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.005218, allocations: 11.94 kB / 451.9 MB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005221, allocations: 4.469 kB / 452 MB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.005226, allocations: 0.6562 kB / 452 MB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005227, allocations: 0 / 452 MB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.005229, allocations: 4.922 kB / 452 MB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.005344, allocations: 190.9 kB / 452.1 MB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.005353, allocations: 1.641 kB / 452.1 MB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.005409, allocations: 7.938 kB / 452.2 MB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-06/0.005418, allocations: 0.9062 kB / 452.2 MB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005422, allocations: 0 / 452.2 MB, free: 1.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.685e-05/0.005439, allocations: 12.86 kB / 452.2 MB, free: 1.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.005439, allocations: 0.625 kB / 452.2 MB, free: 1.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.005683, allocations: 8.625 kB / 452.2 MB, free: 1.84 MB / 426.7 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.0001376/0.005821, allocations: 85.8 kB / 452.3 MB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.005955, allocations: 141.4 kB / 452.4 MB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.00596, allocations: 0 / 452.4 MB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.005999, allocations: 94.39 kB / 452.5 MB, free: 1.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.006148, allocations: 7.109 kB / 452.5 MB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.006399, allocations: 141.9 kB / 452.6 MB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.006442, allocations: 51.91 kB / 452.7 MB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.545e-05/0.006478, allocations: 9.047 kB / 452.7 MB, free: 1.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.006545, allocations: 55.91 kB / 452.7 MB, free: 1.172 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.006547, allocations: 1.031 kB / 452.7 MB, free: 1.172 MB / 426.7 MB Notification: Performance of Templates: time 0.003364/0.009911, allocations: 0.6039 MB / 453.4 MB, free: 0.6016 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5955167748034]