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.1037/0.1037, allocations: 9.131 MB / 28.99 MB, free: 6.098 MB / 24.77 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.001057/0.001057, allocations: 95.2 kB / 35.33 MB, free: 0.7734 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.001913/0.001913, allocations: 170.4 kB / 38.73 MB, free: 2.145 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.032/1.032, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004426/0.004426, allocations: 0.821 MB / 276.5 MB, free: 0.7305 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.739/1.739, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.703e-06/1.703e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.076e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.WeeklySchedule): time 0.003686/0.003717, allocations: 1.467 MB / 0.6393 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.003906, allocations: 31.83 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.003957, allocations: 0 / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.004176, allocations: 15.88 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.004325, allocations: 15.86 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.004329, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.004405, allocations: 23.91 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.004452, allocations: 0 / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.004514, allocations: 4 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.00459, allocations: 11.92 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.00461, allocations: 0 / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.00467, allocations: 19.94 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.00471, allocations: 0 / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.00473, allocations: 7.938 kB / 0.6394 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.004839, allocations: 19.97 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.004847, allocations: 4 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004848, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004853, allocations: 0 / 0.6395 GB, free: 12.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002996/0.005152, allocations: 236.8 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.005195, allocations: 11.98 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.005227, allocations: 4.938 kB / 0.6397 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.005396, allocations: 126.5 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.005408, allocations: 4.312 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.005416, allocations: 4.312 kB / 0.6398 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.167e-05/0.005508, allocations: 37.08 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.005516, allocations: 192 / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.005524, allocations: 384 / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.005554, allocations: 384 / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.005573, allocations: 7.938 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.005683, allocations: 62.7 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.005732, allocations: 30.53 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.005754, allocations: 8.859 kB / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.005781, allocations: 0 / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.00582, allocations: 34.62 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 2.565e-06/0.005822, allocations: 0 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.005974, allocations: 33.69 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.006014, allocations: 51.41 kB / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.00612, allocations: 114.7 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.006134, allocations: 25.7 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.006165, allocations: 84.08 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.006193, allocations: 0 / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.006225, allocations: 17.84 kB / 0.6403 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0004445/0.00667, allocations: 326.8 kB / 0.6406 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.006681, allocations: 4 kB / 0.6406 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.006689, allocations: 0 / 0.6406 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.006721, allocations: 11.69 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006723, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.266e-05/0.006796, allocations: 37.69 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.006815, allocations: 7.984 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00682, allocations: 0 / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.734e-05/0.006878, allocations: 0 / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.006958, allocations: 12.03 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006962, allocations: 0 / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.006985, allocations: 0 / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.006993, allocations: 0 / 0.6407 GB, free: 10.99 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 8.028e-05/0.007073, allocations: 116.6 kB / 0.6408 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.007087, allocations: 0 / 0.6408 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.007198, allocations: 41.16 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.007202, allocations: 3.938 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007203, allocations: 0 / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007207, allocations: 0 / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.01e-05/0.007277, allocations: 73.86 kB / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.007281, allocations: 4 kB / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.007295, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.007296, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.0073, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007301, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007302, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.007368, allocations: 71.81 kB / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.007382, allocations: 7.953 kB / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.007389, allocations: 0 / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.007396, allocations: 4.031 kB / 0.641 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.007408, allocations: 0 / 0.641 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.007409, allocations: 0 / 0.641 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.007434, allocations: 16.84 kB / 0.641 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.007435, allocations: 0 / 0.641 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001027/0.007537, allocations: 7.938 kB / 0.641 GB, free: 10.6 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.0002029/0.00774, allocations: 88.28 kB / 0.6411 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.625e-05/0.007796, allocations: 20.8 kB / 0.6411 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.0078, allocations: 0 / 0.6411 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 7.164e-06/0.007807, allocations: 8.859 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.5e-05/0.007882, allocations: 7.922 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.008117, allocations: 107.5 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.008157, allocations: 55.36 kB / 0.6413 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.008174, allocations: 0.5469 kB / 0.6413 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.008209, allocations: 55.38 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of SimCode: time 9.72e-07/0.008209, allocations: 4.125 kB / 0.6414 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of Templates: time 0.002058/0.01027, allocations: 0.5517 MB / 0.6419 GB, free: 9.637 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.50583953410387]