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.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.0006639/0.0006639, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008442/0.001508, 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.0006947/0.0006947, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008966/0.001591, 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1096/1.156, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8044/0.8044, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2611/1.065, allocations: 49.13 MB / 448.4 MB, free: 6.027 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-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 1.094 kB / 449.8 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.926e-05, allocations: 2.812 kB / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001735/0.001754, allocations: 0.6465 MB / 450.4 MB, free: 4.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.001855, allocations: 40.38 kB / 450.4 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.001877, allocations: 1.266 kB / 450.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.001893, allocations: 1.281 kB / 450.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.001912, allocations: 0 / 450.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.002014, allocations: 7.984 kB / 450.5 MB, free: 4.016 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.277e-05/0.002097, allocations: 9.672 kB / 450.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.002135, allocations: 2.516 kB / 450.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.002183, allocations: 4.984 kB / 450.5 MB, free: 4.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.002234, allocations: 3.984 kB / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.002249, allocations: 0 / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.002351, allocations: 28.67 kB / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.002378, allocations: 0.9844 kB / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.002396, allocations: 5.766 kB / 450.5 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.002496, allocations: 26.41 kB / 450.5 MB, free: 3.945 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.002512, allocations: 0 / 450.5 MB, free: 3.945 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002512, allocations: 1.656 kB / 450.5 MB, free: 3.945 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.002531, allocations: 0 / 450.5 MB, free: 3.945 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.0003387/0.00287, allocations: 254.4 kB / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.002909, allocations: 12.69 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.002942, allocations: 2.938 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.003019, allocations: 113.7 kB / 450.9 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.003031, allocations: 384 / 450.9 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.003039, allocations: 384 / 450.9 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003163, allocations: 62.8 kB / 451 MB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.003175, allocations: 8.891 kB / 451 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.003183, allocations: 6.484 kB / 451 MB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.003218, allocations: 8.375 kB / 451 MB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.003258, allocations: 37.64 kB / 451 MB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.003511, allocations: 175.7 kB / 451.2 MB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.003562, allocations: 44.28 kB / 451.3 MB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.003583, allocations: 35.28 kB / 451.3 MB, free: 3.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-06/0.003587, allocations: 0.875 kB / 451.3 MB, free: 3.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.003614, allocations: 40.41 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.003616, allocations: 0.7031 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.00376, allocations: 118.8 kB / 451.4 MB, free: 2.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.003789, allocations: 51.41 kB / 451.5 MB, free: 2.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.00387, allocations: 119.4 kB / 451.6 MB, free: 2.711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.003883, allocations: 25.7 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.003938, allocations: 108.7 kB / 451.7 MB, free: 2.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.003947, allocations: 0.9844 kB / 451.7 MB, free: 2.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.003985, allocations: 26.33 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.004086, allocations: 310.8 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.004113, allocations: 35.19 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.004173, allocations: 92.8 kB / 452.2 MB, free: 2.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.334e-05/0.004266, allocations: 126.6 kB / 452.3 MB, free: 1.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.004269, allocations: 4.844 kB / 452.3 MB, free: 1.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000125/0.004394, allocations: 130.8 kB / 452.5 MB, free: 1.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.00443, allocations: 29.7 kB / 452.5 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.004437, allocations: 5.672 kB / 452.5 MB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.004447, allocations: 0 / 452.5 MB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.00451, allocations: 16.94 kB / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.004515, allocations: 4 kB / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.004585, allocations: 15.88 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.004601, allocations: 8.625 kB / 452.5 MB, free: 1.68 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.958e-05/0.004681, allocations: 143.6 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.004707, allocations: 8.812 kB / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.004723, allocations: 4.453 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004725, allocations: 0.5 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.004728, allocations: 4 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004731, allocations: 5.375 kB / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.004833, allocations: 65.88 kB / 452.8 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.004835, allocations: 4 kB / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.004836, allocations: 1.062 kB / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.004843, allocations: 0.5469 kB / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.004846, allocations: 3.938 kB / 452.8 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.00485, allocations: 0.7188 kB / 452.8 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004851, allocations: 4 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004851, allocations: 0.9062 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.004972, allocations: 184.4 kB / 453 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.004984, allocations: 8.578 kB / 453 MB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.005036, allocations: 5.375 kB / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-06/0.005045, allocations: 0 / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.005051, allocations: 7.938 kB / 453 MB, free: 1.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.595e-05/0.005067, allocations: 8.859 kB / 453 MB, free: 1.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005067, allocations: 1.438 kB / 453 MB, free: 1.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000231/0.005298, allocations: 8 kB / 453 MB, free: 1.16 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.0001178/0.005416, allocations: 93.83 kB / 453.1 MB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.005545, allocations: 136.4 kB / 453.2 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.00555, allocations: 0.6562 kB / 453.2 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.005591, allocations: 91.97 kB / 453.3 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.005731, allocations: 7.984 kB / 453.3 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.005944, allocations: 133.7 kB / 453.4 MB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.005984, allocations: 59.22 kB / 453.5 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.006009, allocations: 5.203 kB / 453.5 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.006067, allocations: 60.56 kB / 453.6 MB, free: 496 kB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006068, allocations: 0.5625 kB / 453.6 MB, free: 496 kB / 426.7 MB Notification: Performance of Templates: time 0.002623/0.008691, allocations: 0.6075 MB / 454.2 MB, free: 15.92 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5512116691097617]