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.04232/0.04232, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 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.0008569/0.0008569, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001038/0.001038, allocations: 169.9 kB / 38.73 MB, free: 2.402 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.9825/0.9825, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004195/0.004195, allocations: 0.8263 MB / 276.5 MB, free: 0.7539 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.696/1.696, 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.783e-06/1.783e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.399e-05, allocations: 6.312 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001472/0.001496, allocations: 0.75 MB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.002483, allocations: 0.8507 MB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.002523, allocations: 4 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.002551, allocations: 0 / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.00263, allocations: 3.938 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 7.174e-05/0.002702, allocations: 11.98 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.437e-05/0.002786, allocations: 47.84 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.002882, allocations: 15.98 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.002989, allocations: 27.91 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.003029, allocations: 11.98 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.003049, allocations: 4 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-06/0.003056, allocations: 4 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003076, allocations: 11.92 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.003098, allocations: 8 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.096e-05/0.003189, allocations: 35.83 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003192, allocations: 7.938 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003193, allocations: 0 / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.003197, allocations: 4 kB / 0.6397 GB, free: 12.19 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.0003035/0.0035, allocations: 244.9 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.003536, allocations: 11.98 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.003562, allocations: 16.91 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.003643, allocations: 117.7 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003652, allocations: 384 / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.00366, allocations: 4.375 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.003768, allocations: 62.94 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003775, allocations: 192 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.003781, allocations: 4.375 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003786, allocations: 384 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.003809, allocations: 11.88 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.004033, allocations: 156.2 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.004095, allocations: 26.55 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.00411, allocations: 8.859 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.004119, allocations: 0 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.004145, allocations: 34.56 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.004145, allocations: 0 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001227/0.004268, allocations: 49.66 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.0043, allocations: 59.47 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.004367, allocations: 110.7 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.00438, allocations: 25.7 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.004415, allocations: 84.14 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.004436, allocations: 11.89 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.004464, allocations: 13.72 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.00456, allocations: 322.8 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.004573, allocations: 4 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-06/0.004583, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.004608, allocations: 20.78 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00461, allocations: 0 / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.975e-05/0.004659, allocations: 41.69 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.004672, allocations: 8 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004676, allocations: 0 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.00469, allocations: 7.875 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.004754, allocations: 11.98 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.004757, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.004784, allocations: 4 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.00479, allocations: 0 / 0.6411 GB, free: 10.59 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 5.614e-05/0.004846, allocations: 113.8 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.00486, allocations: 4 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.004882, allocations: 16.27 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.004885, allocations: 3.938 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.004886, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.004891, allocations: 7.984 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.443e-05/0.004976, allocations: 73.88 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004977, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.005002, allocations: 8 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005004, allocations: 3.984 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.005009, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00501, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005011, allocations: 4 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.813e-05/0.005089, allocations: 139.5 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.005096, allocations: 4 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005103, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.005138, allocations: 7.984 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.005167, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.00517, allocations: 7.875 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.532e-05/0.005186, allocations: 24.83 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005186, allocations: 0 / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001097/0.005296, allocations: 11.95 kB / 0.6415 GB, free: 10.12 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 7.638e-05/0.005372, allocations: 80.36 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.005431, allocations: 16.84 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.005434, allocations: 0 / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.005448, allocations: 8.859 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.005584, allocations: 12 kB / 0.6416 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.005812, allocations: 128.3 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.005846, allocations: 63.3 kB / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.005866, allocations: 0 / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.00592, allocations: 63.3 kB / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of SimCode: time 6.21e-07/0.00592, allocations: 0 / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of Templates: time 0.002097/0.008017, allocations: 0.6725 MB / 0.6425 GB, free: 9.02 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.388163452036679]