Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.05101/0.05101, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009057/0.0009057, allocations: 90.72 kB / 35.33 MB, free: 1.074 MB / 24.77 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.0008977/0.0008977, allocations: 164.5 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9113/0.9113, allocations: 177.1 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003962/0.003962, allocations: 0.8261 MB / 276.5 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.632/1.632, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.305e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001098/0.001111, allocations: 0.7068 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.001818, allocations: 0.8431 MB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.001847, allocations: 0 / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.001869, allocations: 3.938 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.001933, allocations: 15.86 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.103e-05/0.001984, allocations: 11.98 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.002048, allocations: 47.84 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.31e-05/0.002111, allocations: 4 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.002184, allocations: 27.97 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.002217, allocations: 15.92 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.002234, allocations: 4 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-06/0.00224, allocations: 4 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.002257, allocations: 11.97 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.002276, allocations: 11.94 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.551e-05/0.002341, allocations: 27.91 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.002343, allocations: 4 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002343, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.002346, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002654/0.002611, allocations: 252.9 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.002642, allocations: 15.92 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.002663, allocations: 8.922 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.002729, allocations: 109.8 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.002736, allocations: 384 / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.002744, allocations: 4.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.421e-05/0.002838, allocations: 66.94 kB / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-06/0.002843, allocations: 192 / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.00285, allocations: 8.312 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.002854, allocations: 384 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.889e-05/0.002873, allocations: 11.94 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.00305, allocations: 156.2 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.003097, allocations: 26.56 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.003112, allocations: 8.922 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.003118, allocations: 4 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.003135, allocations: 30.56 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003136, allocations: 4 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.355e-05/0.003229, allocations: 49.66 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.003254, allocations: 51.41 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.003303, allocations: 114.7 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.003313, allocations: 25.7 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.003339, allocations: 92.06 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.003358, allocations: 11.91 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.003382, allocations: 17.7 kB / 0.6406 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.003454, allocations: 322.8 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.003463, allocations: 0 / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.003472, allocations: 8 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.003496, allocations: 12.84 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003497, allocations: 3.938 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.937e-05/0.003537, allocations: 41.97 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.003546, allocations: 4 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003549, allocations: 48 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.003559, allocations: 7.922 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.003615, allocations: 11.98 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.003619, allocations: 0 / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.003639, allocations: 4 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.003643, allocations: 4 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB 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 4.529e-05/0.003688, allocations: 113.8 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.003702, allocations: 3.984 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.003717, allocations: 8 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.00372, allocations: 3.938 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.003721, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.003723, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.813e-05/0.003801, allocations: 81.81 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003802, allocations: 0 / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.003824, allocations: 11.94 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.003825, allocations: 4 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.003829, allocations: 0 / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.003831, allocations: 3.984 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003831, allocations: 0 / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.702e-05/0.003898, allocations: 135.5 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-06/0.003905, allocations: 4 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-06/0.003912, allocations: 4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.003946, allocations: 4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.003973, allocations: 7.984 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.003977, allocations: 7.938 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.191e-05/0.003989, allocations: 12.84 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003989, allocations: 4 kB / 0.6414 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001126/0.004102, allocations: 11.95 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB 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 6.64e-05/0.004168, allocations: 76.36 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.389e-05/0.004222, allocations: 16.86 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004224, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.00424, allocations: 12.84 kB / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.004368, allocations: 8 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.004577, allocations: 136.3 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.004608, allocations: 63.23 kB / 0.6417 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.004626, allocations: 0 / 0.6417 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.004671, allocations: 59.36 kB / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of SimCode: time 4.11e-07/0.004671, allocations: 0 / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of Templates: time 0.001855/0.006526, allocations: 0.6804 MB / 0.6425 GB, free: 9.102 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.331476008985192]