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.0009747/0.0009747, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.0009743/0.0009743, allocations: 169.4 kB / 24.06 MB, free: 448 kB / 18.57 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.004/1.004, allocations: 177.2 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7999/0.7999, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.643e-06/1.643e-06, allocations: 0.7656 kB / 0.5219 GB, free: 392 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.051e-05, allocations: 2.312 kB / 0.5219 GB, free: 388 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002274/0.002295, allocations: 1.576 MB / 0.5234 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000306/0.002601, allocations: 119.7 kB / 0.5235 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.00265, allocations: 9.688 kB / 0.5236 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.002767, allocations: 8.688 kB / 0.5236 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.291e-05/0.002789, allocations: 10.61 kB / 0.5236 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.003007, allocations: 27.95 kB / 0.5236 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.003089, allocations: 56.41 kB / 0.5237 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.00318, allocations: 21.39 kB / 0.5237 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.003238, allocations: 31.91 kB / 0.5237 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.003293, allocations: 23.95 kB / 0.5237 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.003309, allocations: 4 kB / 0.5237 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.003372, allocations: 18.67 kB / 0.5238 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.003406, allocations: 15.92 kB / 0.5238 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.003427, allocations: 15.94 kB / 0.5238 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003532, allocations: 47.81 kB / 0.5238 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.003535, allocations: 11.94 kB / 0.5238 GB, free: 14.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003536, allocations: 0 / 0.5238 GB, free: 14.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.00354, allocations: 0 / 0.5238 GB, free: 14.41 MB / 458.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.000325/0.003865, allocations: 392.9 kB / 0.5242 GB, free: 13.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.003895, allocations: 9.062 kB / 0.5242 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.003925, allocations: 8.891 kB / 0.5242 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.004039, allocations: 128.5 kB / 0.5244 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.004047, allocations: 5.594 kB / 0.5244 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.004055, allocations: 4.375 kB / 0.5244 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004178, allocations: 71.5 kB / 0.5244 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004185, allocations: 8.172 kB / 0.5244 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.004192, allocations: 2 kB / 0.5244 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.004197, allocations: 384 / 0.5244 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.004221, allocations: 11.94 kB / 0.5245 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.004541, allocations: 281.3 kB / 0.5247 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.00461, allocations: 31.05 kB / 0.5248 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.004634, allocations: 16.61 kB / 0.5248 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.004661, allocations: 4 kB / 0.5248 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.004686, allocations: 38.58 kB / 0.5248 GB, free: 13.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/0.004687, allocations: 3.938 kB / 0.5248 GB, free: 13.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001494/0.004837, allocations: 49.72 kB / 0.5249 GB, free: 13.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.004873, allocations: 51.41 kB / 0.5249 GB, free: 13.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.004955, allocations: 170.7 kB / 0.5251 GB, free: 13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004965, allocations: 25.7 kB / 0.5251 GB, free: 12.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.005017, allocations: 155.3 kB / 0.5252 GB, free: 12.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.005036, allocations: 12.86 kB / 0.5253 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.005066, allocations: 15.38 kB / 0.5253 GB, free: 12.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005181, allocations: 0.4928 MB / 0.5258 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.005194, allocations: 0 / 0.5258 GB, free: 12.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.005204, allocations: 4.531 kB / 0.5258 GB, free: 12.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.005237, allocations: 12.5 kB / 0.5258 GB, free: 12.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005239, allocations: 0 / 0.5258 GB, free: 12.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.491e-05/0.005304, allocations: 57.52 kB / 0.5258 GB, free: 12.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005316, allocations: 11.09 kB / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.00532, allocations: 0 / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/0.005327, allocations: 0 / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.005388, allocations: 11.98 kB / 0.5258 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.00539, allocations: 0 / 0.5258 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.005417, allocations: 7.984 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.005431, allocations: 4 kB / 0.5259 GB, free: 12.16 MB / 458.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 6.21e-05/0.005493, allocations: 161.6 kB / 0.526 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.00551, allocations: 7.891 kB / 0.526 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.005596, allocations: 58.17 kB / 0.5261 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.005597, allocations: 0 / 0.5261 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.005599, allocations: 0.9375 kB / 0.5261 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.005602, allocations: 0 / 0.5261 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.005698, allocations: 105.2 kB / 0.5262 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005699, allocations: 1.594 kB / 0.5262 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.005729, allocations: 12 kB / 0.5262 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005731, allocations: 4 kB / 0.5262 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.005735, allocations: 0.9688 kB / 0.5262 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.005738, allocations: 11.86 kB / 0.5262 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005738, allocations: 0 / 0.5262 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.661e-05/0.005835, allocations: 190.4 kB / 0.5264 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.005842, allocations: 7.938 kB / 0.5264 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.00585, allocations: 0 / 0.5264 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.005888, allocations: 11.94 kB / 0.5264 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.005918, allocations: 12.02 kB / 0.5264 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.005923, allocations: 0 / 0.5264 GB, free: 11.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.005965, allocations: 139.5 kB / 0.5265 GB, free: 11.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005965, allocations: 0 / 0.5265 GB, free: 11.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000146/0.006111, allocations: 12.66 kB / 0.5266 GB, free: 11.38 MB / 458.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.0001155/0.006226, allocations: 96.66 kB / 0.5267 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.006298, allocations: 19.67 kB / 0.5267 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.0063, allocations: 4 kB / 0.5267 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.006321, allocations: 18.38 kB / 0.5267 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.006504, allocations: 11.92 kB / 0.5267 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.006783, allocations: 150.1 kB / 0.5268 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.006831, allocations: 63.2 kB / 0.5269 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.771e-05/0.006859, allocations: 6.25 kB / 0.5269 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.006915, allocations: 74.2 kB / 0.527 GB, free: 10.88 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/0.006916, allocations: 0 / 0.527 GB, free: 10.88 MB / 458.7 MB Notification: Performance of Templates: time 0.002863/0.009778, allocations: 0.9078 MB / 0.5279 GB, free: 10.02 MB / 458.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.7283404511399567]