Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.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.03988/0.03988, allocations: 9.129 MB / 28.99 MB, free: 0.8242 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.000845/0.000845, allocations: 94.36 kB / 35.33 MB, free: 1.086 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.0009826/0.0009826, allocations: 161.8 kB / 38.73 MB, free: 2.484 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 1.019/1.019, 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.003928/0.003928, allocations: 0.8215 MB / 276.5 MB, free: 0.7422 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.618/1.618, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.WeeklySchedule") translateModel(AixLib.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.108e-05, allocations: 10.25 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.WeeklySchedule): time 0.002511/0.002542, allocations: 1.408 MB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.002657, allocations: 39.81 kB / 0.6393 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.002694, allocations: 0 / 0.6393 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.002851, allocations: 15.86 kB / 0.6393 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.002949, allocations: 19.86 kB / 0.6393 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.515e-06/0.002952, allocations: 0 / 0.6393 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.003003, allocations: 15.94 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.003039, allocations: 3.984 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.003086, allocations: 4 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.003138, allocations: 15.92 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.003157, allocations: 0 / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.003197, allocations: 8 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.003233, allocations: 3.984 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.003248, allocations: 8 kB / 0.6394 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.863e-05/0.003327, allocations: 19.86 kB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.00333, allocations: 4 kB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003331, allocations: 0 / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.003334, allocations: 4 kB / 0.6394 GB, free: 12.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000225/0.003559, allocations: 232.9 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.003592, allocations: 11.98 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.003616, allocations: 12.86 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.003727, allocations: 130.4 kB / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.003734, allocations: 384 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.003743, allocations: 4.359 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.97e-05/0.003802, allocations: 33.09 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003811, allocations: 4.172 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-06/0.003816, allocations: 384 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.003839, allocations: 8.359 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-06/0.003849, allocations: 7.938 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.096e-05/0.00392, allocations: 58.7 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.003954, allocations: 30.48 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.003966, allocations: 4.859 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.003977, allocations: 0 / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.003995, allocations: 34.62 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.003995, allocations: 0 / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.177e-05/0.004067, allocations: 33.69 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.004101, allocations: 63.47 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.004161, allocations: 114.7 kB / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.00417, allocations: 25.7 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.004191, allocations: 80.14 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.004208, allocations: 0 / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.004227, allocations: 17.7 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.004298, allocations: 314.8 kB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.004304, allocations: 7.984 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.004309, allocations: 0 / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/0.004327, allocations: 11.69 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004329, allocations: 4.062 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.499e-05/0.004364, allocations: 33.64 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.004374, allocations: 4 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004378, allocations: 0 / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.004388, allocations: 0 / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.004425, allocations: 7.984 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004427, allocations: 0 / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-06/0.004436, allocations: 0 / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.004441, allocations: 0 / 0.6406 GB, free: 11.14 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 (1): * Single equations (assignments): 1 * 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.01e-05/0.004491, allocations: 116.6 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-06/0.004495, allocations: 4.031 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.004544, allocations: 41.16 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.004545, allocations: 0 / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.004548, allocations: 4 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.00455, allocations: 0 / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.002e-05/0.0046, allocations: 69.83 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.004602, allocations: 4 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.00461, allocations: 3.938 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004611, allocations: 0 / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.004614, allocations: 7.922 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.004615, allocations: 4.031 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004616, allocations: 0 / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.151e-05/0.004657, allocations: 59.91 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.004666, allocations: 7.953 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.004673, allocations: 3.984 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-06/0.004677, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-06/0.004686, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.004687, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.004703, allocations: 16.86 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004703, allocations: 0 / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.51e-05/0.004798, allocations: 7.938 kB / 0.641 GB, free: 10.75 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 (1): * Single equations (assignments): 1 * 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.0001409/0.004939, allocations: 92.36 kB / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.938e-05/0.004988, allocations: 12.8 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.004991, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.004996, allocations: 8.859 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.362e-05/0.00505, allocations: 4.062 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.00524, allocations: 115.5 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.005268, allocations: 59.34 kB / 0.6412 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.222e-05/0.00528, allocations: 0 / 0.6412 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.005309, allocations: 51.38 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of SimCode: time 4.8e-07/0.005309, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of Templates: time 0.001841/0.00715, allocations: 0.5483 MB / 0.6418 GB, free: 9.793 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.sim & ./AixLib_AixLib.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.375934523995966]