Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.0007224/0.0007224, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009632/0.001686, 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.0006986/0.0006986, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009698/0.001668, 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.9757/0.9757, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1075/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7921/0.7921, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2789/1.071, allocations: 49.12 MB / 448.6 MB, free: 5.91 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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.984e-05, allocations: 2.312 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002064/0.002084, allocations: 1.643 MB / 451.6 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.002298, allocations: 120.5 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.00234, allocations: 1.344 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.095e-05/0.002401, allocations: 12.62 kB / 451.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.966e-05/0.002421, allocations: 7.062 kB / 451.8 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.002569, allocations: 32.62 kB / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.002662, allocations: 57.69 kB / 451.8 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.002749, allocations: 19.86 kB / 451.9 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.002836, allocations: 42.25 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.00292, allocations: 25.81 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.002939, allocations: 9.141 kB / 451.9 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.003011, allocations: 8.781 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.003052, allocations: 15.05 kB / 452 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003077, allocations: 10.52 kB / 452 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003191, allocations: 41.42 kB / 452 MB, free: 2.602 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.003202, allocations: 4 kB / 452 MB, free: 2.598 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003202, allocations: 1 kB / 452 MB, free: 2.598 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.00321, allocations: 0 / 452 MB, free: 2.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003536/0.003564, allocations: 277.7 kB / 452.3 MB, free: 2.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.003595, allocations: 12.03 kB / 452.3 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.003627, allocations: 12.86 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.003754, allocations: 125.6 kB / 452.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-06/0.003761, allocations: 4.375 kB / 452.4 MB, free: 2.129 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.003773, allocations: 4.938 kB / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.003915, allocations: 74.38 kB / 452.5 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.003921, allocations: 192 / 452.5 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003928, allocations: 1.984 kB / 452.5 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003934, allocations: 4.375 kB / 452.5 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.003961, allocations: 16.98 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.004217, allocations: 193.9 kB / 452.7 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.67e-05/0.004274, allocations: 23.64 kB / 452.8 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.004291, allocations: 12.86 kB / 452.8 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.004323, allocations: 5.438 kB / 452.8 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.004343, allocations: 35.19 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.004343, allocations: 0 / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001185/0.004462, allocations: 51.02 kB / 452.9 MB, free: 1.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.004494, allocations: 51.41 kB / 452.9 MB, free: 1.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.004573, allocations: 118.7 kB / 453 MB, free: 1.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.004586, allocations: 26.48 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.004634, allocations: 100 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.004655, allocations: 11.91 kB / 453.2 MB, free: 1.332 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.00468, allocations: 11.22 kB / 453.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.004755, allocations: 318.8 kB / 453.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.004768, allocations: 3.984 kB / 453.5 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.004779, allocations: 5.594 kB / 453.5 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.004811, allocations: 16.53 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004813, allocations: 3.938 kB / 453.5 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.291e-05/0.004866, allocations: 42.56 kB / 453.5 MB, free: 0.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.004879, allocations: 11.92 kB / 453.6 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.004884, allocations: 4.562 kB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.004895, allocations: 0 / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.004969, allocations: 8.625 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.004973, allocations: 1.906 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.004998, allocations: 11.98 kB / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.005014, allocations: 0 / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.538e-05/0.00507, allocations: 112.7 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.005084, allocations: 5.625 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.005184, allocations: 54.94 kB / 453.8 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005186, allocations: 3.938 kB / 453.8 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005187, allocations: 0 / 453.8 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00519, allocations: 0 / 453.8 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.078e-05/0.00528, allocations: 75.12 kB / 453.8 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.005282, allocations: 4 kB / 453.8 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.005322, allocations: 15.98 kB / 453.9 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.005331, allocations: 4.703 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005332, allocations: 0 / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.005337, allocations: 4.562 kB / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005338, allocations: 0 / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005339, allocations: 4.625 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.737e-05/0.005416, allocations: 141.3 kB / 454 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.005426, allocations: 0 / 454 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.00546, allocations: 8.562 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.005492, allocations: 4.609 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.005499, allocations: 4 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.275e-05/0.005522, allocations: 26.7 kB / 454 MB, free: 380 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005522, allocations: 4 kB / 454.1 MB, free: 376 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.00565, allocations: 12.88 kB / 454.1 MB, free: 364 kB / 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001117/0.005761, allocations: 77.98 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.005845, allocations: 67.52 kB / 454.2 MB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.005852, allocations: 0 / 454.2 MB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.005878, allocations: 13.52 kB / 454.2 MB, free: 192 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.006061, allocations: 68.3 kB / 454.3 MB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.006455, allocations: 159.8 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.006487, allocations: 63.77 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.006512, allocations: 5.312 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.006562, allocations: 55.36 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.006563, allocations: 0.6562 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of Templates: time 0.00245/0.009013, allocations: 0.7891 MB / 455.4 MB, free: 15.05 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5659564891830087]