Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.IO.Files.Examples.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.04273/0.04273, allocations: 9.127 MB / 28.99 MB, free: 332 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.0008644/0.0008644, allocations: 95.27 kB / 35.33 MB, free: 0.9258 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.0009945/0.0009945, allocations: 165.3 kB / 38.73 MB, free: 2.375 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.9724/0.9724, 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.004856/0.004856, allocations: 0.8215 MB / 276.5 MB, free: 0.7578 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.78/1.78, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(AixLib.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.948e-05, allocations: 10.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002456/0.002476, allocations: 1.592 MB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003649, allocations: 1.274 MB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.003716, allocations: 0 / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.003912, allocations: 15.88 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004087, allocations: 43.7 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.004223, allocations: 55.84 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.004386, allocations: 155.5 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004496, allocations: 33.88 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.004597, allocations: 107.8 kB / 0.6411 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004705, allocations: 47.84 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.004734, allocations: 8 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.004792, allocations: 27.97 kB / 0.6412 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.004858, allocations: 51.83 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.004911, allocations: 47.89 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.005125, allocations: 183.3 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005128, allocations: 0 / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005128, allocations: 0 / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.005133, allocations: 4 kB / 0.6414 GB, free: 10.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004753/0.005608, allocations: 383.9 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.005646, allocations: 11.98 kB / 0.6418 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.005694, allocations: 20.92 kB / 0.6418 GB, free: 10 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.005882, allocations: 182.2 kB / 0.642 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.005989, allocations: 218.2 kB / 0.6422 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.006008, allocations: 12.38 kB / 0.6422 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.006448, allocations: 187.8 kB / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.006455, allocations: 192 / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.006469, allocations: 4.125 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.006493, allocations: 15.94 kB / 0.6424 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.006516, allocations: 11.98 kB / 0.6424 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.006923, allocations: 281.6 kB / 0.6427 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.006962, allocations: 26.52 kB / 0.6427 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.006978, allocations: 12.84 kB / 0.6427 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.006997, allocations: 8 kB / 0.6427 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.007016, allocations: 38.56 kB / 0.6428 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.007017, allocations: 0 / 0.6428 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001189/0.007136, allocations: 57.77 kB / 0.6428 GB, free: 8.812 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.007167, allocations: 59.34 kB / 0.6429 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.007277, allocations: 191.5 kB / 0.6431 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.007294, allocations: 25.7 kB / 0.6431 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.007335, allocations: 112 kB / 0.6432 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.007355, allocations: 31.91 kB / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.007386, allocations: 21.72 kB / 0.6433 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.00746, allocations: 330.8 kB / 0.6436 GB, free: 8.004 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.007475, allocations: 4 kB / 0.6436 GB, free: 8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.007522, allocations: 86.22 kB / 0.6437 GB, free: 7.879 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.007602, allocations: 113 kB / 0.6438 GB, free: 7.73 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007604, allocations: 3.938 kB / 0.6438 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.781e-05/0.007702, allocations: 101.3 kB / 0.6439 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.007714, allocations: 11.91 kB / 0.6439 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00772, allocations: 4.375 kB / 0.6439 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.00773, allocations: 4 kB / 0.6439 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.007787, allocations: 23.98 kB / 0.6439 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007793, allocations: 7.938 kB / 0.6439 GB, free: 7.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.007829, allocations: 19.88 kB / 0.6439 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.007837, allocations: 4 kB / 0.6439 GB, free: 7.547 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.313e-05/0.0079, allocations: 120.6 kB / 0.6441 GB, free: 7.418 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.007925, allocations: 11.98 kB / 0.6441 GB, free: 7.406 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.008028, allocations: 90.89 kB / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00803, allocations: 0 / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.008031, allocations: 0 / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008035, allocations: 8 kB / 0.6442 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.008146, allocations: 101.8 kB / 0.6443 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008147, allocations: 3.938 kB / 0.6443 GB, free: 7.188 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.008171, allocations: 12 kB / 0.6443 GB, free: 7.176 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.008178, allocations: 3.938 kB / 0.6443 GB, free: 7.172 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.008182, allocations: 4 kB / 0.6443 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.008183, allocations: 0 / 0.6443 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.008184, allocations: 0 / 0.6443 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.001e-05/0.008274, allocations: 159.4 kB / 0.6444 GB, free: 6.996 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.008289, allocations: 19.84 kB / 0.6444 GB, free: 6.977 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.008299, allocations: 0 / 0.6444 GB, free: 6.977 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.00838, allocations: 15.98 kB / 0.6445 GB, free: 6.961 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.008393, allocations: 3.984 kB / 0.6445 GB, free: 6.957 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.008409, allocations: 11.98 kB / 0.6445 GB, free: 6.945 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.00845, allocations: 55.03 kB / 0.6445 GB, free: 6.891 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.00845, allocations: 0 / 0.6445 GB, free: 6.891 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001704/0.008621, allocations: 31.94 kB / 0.6446 GB, free: 6.859 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 (8): * Single equations (assignments): 8 * 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.0001504/0.008771, allocations: 116.9 kB / 0.6447 GB, free: 6.734 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.008849, allocations: 40.72 kB / 0.6447 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.008852, allocations: 0 / 0.6447 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.00887, allocations: 24.78 kB / 0.6447 GB, free: 6.664 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.009034, allocations: 32.66 kB / 0.6448 GB, free: 6.633 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.009324, allocations: 263.8 kB / 0.645 GB, free: 6.348 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.009365, allocations: 79.31 kB / 0.6451 GB, free: 6.25 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.454e-05/0.00942, allocations: 24.92 kB / 0.6451 GB, free: 6.227 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.009594, allocations: 103.2 kB / 0.6452 GB, free: 6.125 MB / 0.6043 GB Notification: Performance of SimCode: time 5e-07/0.009595, allocations: 0 / 0.6452 GB, free: 6.125 MB / 0.6043 GB Notification: Performance of Templates: time 0.003773/0.01337, allocations: 2.747 MB / 0.6479 GB, free: 3.379 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.578907805960625]