Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.04392/0.04392, allocations: 9.131 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.0008855/0.0008855, allocations: 99.08 kB / 35.33 MB, free: 1.078 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.001125/0.001125, allocations: 166.1 kB / 38.73 MB, free: 2.52 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.9642/0.9642, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.006384/0.006384, allocations: 0.8337 MB / 276.5 MB, free: 0.7266 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.6289 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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.149e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001887/0.001898, allocations: 1.479 MB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001104/0.002009, allocations: 39.83 kB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.002045, allocations: 0 / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.002174, allocations: 15.86 kB / 0.6394 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.002261, allocations: 19.88 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.002264, allocations: 0 / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.002318, allocations: 15.92 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.002348, allocations: 7.984 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.002385, allocations: 7.984 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.002428, allocations: 11.94 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.002441, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.002477, allocations: 11.98 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.002507, allocations: 4 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.199e-05/0.002519, allocations: 7.938 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.564e-05/0.002594, allocations: 27.91 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002596, allocations: 4 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.51e-07/0.002596, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.002599, allocations: 0 / 0.6395 GB, free: 12.45 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.0001749/0.002774, allocations: 228.9 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.002802, allocations: 11.98 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.002823, allocations: 12.86 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.002927, allocations: 138.4 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.002934, allocations: 4.375 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.002938, allocations: 384 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.789e-05/0.002996, allocations: 29.09 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.003001, allocations: 4.188 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-06/0.003007, allocations: 4.359 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.003025, allocations: 4.375 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.089e-05/0.003036, allocations: 7.922 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.18e-05/0.003098, allocations: 62.7 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 2.757e-05/0.003125, allocations: 18.52 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.128e-05/0.003136, allocations: 4.859 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.00315, allocations: 4.094 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.003166, allocations: 30.56 kB / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003167, allocations: 0 / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 6.282e-05/0.003229, allocations: 37.64 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.003256, allocations: 55.39 kB / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.003319, allocations: 118.7 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-06/0.003326, allocations: 25.7 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.003348, allocations: 88.12 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.003364, allocations: 0 / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.003383, allocations: 9.719 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.003453, allocations: 322.8 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.003457, allocations: 0 / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.003461, allocations: 128 / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.00348, allocations: 19.73 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.003481, allocations: 0 / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.437e-05/0.003516, allocations: 33.64 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.003527, allocations: 8 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.00353, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.003539, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.252e-05/0.003571, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.003574, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-06/0.003582, allocations: 3.984 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.003586, allocations: 8 kB / 0.6407 GB, free: 11.01 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 4.749e-05/0.003634, allocations: 120.6 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.003638, allocations: 0 / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.003692, allocations: 45.16 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.003694, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.003695, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003697, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.936e-05/0.003747, allocations: 65.84 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.003747, allocations: 0 / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-06/0.003753, allocations: 3.938 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.003755, allocations: 4.031 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.003759, allocations: 7.984 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.00376, allocations: 0 / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00376, allocations: 0 / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.849e-05/0.003799, allocations: 59.91 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.003806, allocations: 3.953 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-06/0.003812, allocations: 3.984 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-06/0.003817, allocations: 0 / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-06/0.003825, allocations: 0 / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-07/0.003826, allocations: 4 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.432e-05/0.00384, allocations: 16.84 kB / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2e-07/0.003841, allocations: 8.031 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.491e-05/0.003935, allocations: 0 / 0.6411 GB, free: 10.62 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.000119/0.004054, allocations: 96.22 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 3.67e-05/0.004091, allocations: 12.8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.004093, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.0041, allocations: 12.92 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.75e-05/0.004147, allocations: 3.938 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.004309, allocations: 115.4 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.004335, allocations: 59.34 kB / 0.6413 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.182e-05/0.004346, allocations: 0 / 0.6413 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.00437, allocations: 51.38 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of SimCode: time 3.81e-07/0.00437, allocations: 3.938 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of Templates: time 0.001756/0.006127, allocations: 0.5806 MB / 0.642 GB, free: 9.625 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.395122222136706]