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.0006895/0.0006895, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008644/0.001554, allocations: 440 kB / 10.41 MB, free: 284 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.000675/0.000675, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008794/0.001554, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9692/0.9692, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09038/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.8187/0.8187, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2808/1.1, allocations: 49.12 MB / 448.6 MB, free: 5.926 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.533e-06/1.533e-06, allocations: 0 / 450 MB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.888e-05, allocations: 2.312 kB / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001712/0.001731, allocations: 0.6517 MB / 450.7 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 7.975e-05/0.00181, allocations: 37.84 kB / 450.7 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.001828, allocations: 0 / 450.7 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.001842, allocations: 4 kB / 450.7 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.588e-05/0.001858, allocations: 0.5469 kB / 450.7 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.797e-05/0.001946, allocations: 16.48 kB / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.002012, allocations: 4.75 kB / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.002046, allocations: 5.172 kB / 450.7 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.002083, allocations: 0.9844 kB / 450.7 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.00213, allocations: 9.703 kB / 450.8 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.002143, allocations: 0 / 450.8 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.002228, allocations: 15.98 kB / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.002259, allocations: 13.41 kB / 450.8 MB, free: 3.836 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.322e-05/0.002272, allocations: 3.797 kB / 450.8 MB, free: 3.836 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.188e-05/0.002364, allocations: 25.45 kB / 450.8 MB, free: 3.812 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.002374, allocations: 0 / 450.8 MB, free: 3.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002374, allocations: 0 / 450.8 MB, free: 3.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.002382, allocations: 0 / 450.8 MB, free: 3.812 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.0002809/0.002663, allocations: 256.5 kB / 451.1 MB, free: 3.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.002694, allocations: 8.031 kB / 451.1 MB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.002726, allocations: 9.703 kB / 451.1 MB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.981e-05/0.002796, allocations: 113.7 kB / 451.2 MB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.002807, allocations: 4.375 kB / 451.2 MB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.002815, allocations: 384 / 451.2 MB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.002925, allocations: 68.69 kB / 451.3 MB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.002933, allocations: 4.172 kB / 451.3 MB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.002939, allocations: 2.344 kB / 451.3 MB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.002971, allocations: 5.469 kB / 451.3 MB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.003, allocations: 41.64 kB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.003225, allocations: 172 kB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.003277, allocations: 48.22 kB / 451.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.003295, allocations: 35.25 kB / 451.6 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-06/0.003299, allocations: 1.5 kB / 451.6 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.003324, allocations: 38.5 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.003326, allocations: 0.8438 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.003452, allocations: 118.7 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.003476, allocations: 53.5 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.003544, allocations: 116 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.003555, allocations: 25.7 kB / 451.9 MB, free: 2.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.003599, allocations: 111.9 kB / 452 MB, free: 2.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.003606, allocations: 4 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.003638, allocations: 22.61 kB / 452 MB, free: 2.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.003718, allocations: 314.8 kB / 452.4 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.00374, allocations: 33.69 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.003786, allocations: 81.77 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.003874, allocations: 135.4 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.003877, allocations: 5 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.003987, allocations: 126.8 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.004019, allocations: 34.58 kB / 452.8 MB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004024, allocations: 0 / 452.8 MB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.004037, allocations: 5.375 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.004095, allocations: 19.98 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.004101, allocations: 7.938 kB / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.004156, allocations: 12.95 kB / 452.8 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.00417, allocations: 4 kB / 452.8 MB, free: 1.535 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 6.731e-05/0.004237, allocations: 139 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.004257, allocations: 8.703 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.004275, allocations: 12.36 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.004277, allocations: 1.781 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.004278, allocations: 0.5938 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.00428, allocations: 0 / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.004373, allocations: 67.33 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.004374, allocations: 0 / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.004374, allocations: 0.5469 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.004384, allocations: 7.984 kB / 453 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.004387, allocations: 4.719 kB / 453 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.004391, allocations: 0 / 453 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.004392, allocations: 1.438 kB / 453 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.004395, allocations: 4.656 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.004497, allocations: 186.9 kB / 453.2 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-06/0.004506, allocations: 0.8438 kB / 453.2 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.004549, allocations: 7.938 kB / 453.2 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-06/0.004556, allocations: 0.5938 kB / 453.2 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.00456, allocations: 0 / 453.2 MB, free: 1.039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.858e-05/0.004579, allocations: 18.41 kB / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004579, allocations: 0 / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.004778, allocations: 12 kB / 453.3 MB, free: 1.008 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.0001099/0.004888, allocations: 81.95 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.005017, allocations: 143.5 kB / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.005022, allocations: 5.422 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.005061, allocations: 90.56 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.005193, allocations: 8.656 kB / 453.6 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.00538, allocations: 136.5 kB / 453.7 MB, free: 488 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.005416, allocations: 59.86 kB / 453.8 MB, free: 408 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.005438, allocations: 5.969 kB / 453.8 MB, free: 404 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.005484, allocations: 59.89 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.005485, allocations: 1.125 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of Templates: time 0.002273/0.007758, allocations: 0.528 MB / 454.4 MB, free: 15.85 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.6274466179311275]