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.05219/0.05219, allocations: 9.128 MB / 28.99 MB, free: 0.8203 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.001209/0.001209, allocations: 95.2 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.001016/0.001016, allocations: 165.1 kB / 38.73 MB, free: 2.492 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.9939/0.9939, 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.004116/0.004116, allocations: 0.8218 MB / 276.5 MB, free: 0.7344 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.587/1.587, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.553e-06/1.553e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.937e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002804/0.002823, allocations: 1.552 MB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.004558, allocations: 1.27 MB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.004633, allocations: 7.938 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.004861, allocations: 19.84 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.005122, allocations: 43.72 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.005312, allocations: 51.92 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.005529, allocations: 151.5 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.005666, allocations: 41.86 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.005817, allocations: 103.7 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005957, allocations: 43.88 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.005999, allocations: 12 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.006066, allocations: 24 kB / 0.6411 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.006143, allocations: 55.81 kB / 0.6411 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.006211, allocations: 51.83 kB / 0.6412 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.006463, allocations: 175.4 kB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006465, allocations: 0 / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.22e-07/0.006466, allocations: 0 / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006469, allocations: 0 / 0.6413 GB, free: 10.56 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.0005152/0.006984, allocations: 383.9 kB / 0.6417 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.007017, allocations: 11.98 kB / 0.6417 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.007068, allocations: 16.92 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.007303, allocations: 194.1 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.007441, allocations: 218.2 kB / 0.6421 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.00747, allocations: 8.375 kB / 0.6421 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.007683, allocations: 195.8 kB / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.007692, allocations: 192 / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.007711, allocations: 8.125 kB / 0.6423 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.00774, allocations: 11.94 kB / 0.6423 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.007773, allocations: 15.92 kB / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.008322, allocations: 269.7 kB / 0.6426 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.00838, allocations: 42.44 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.008403, allocations: 8.859 kB / 0.6426 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.008427, allocations: 4 kB / 0.6427 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.008453, allocations: 34.56 kB / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.008454, allocations: 0 / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.000167/0.008621, allocations: 65.8 kB / 0.6427 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.008655, allocations: 59.34 kB / 0.6428 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.008807, allocations: 183.5 kB / 0.643 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.008834, allocations: 29.7 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.00889, allocations: 108 kB / 0.6431 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.008915, allocations: 31.91 kB / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.00896, allocations: 33.69 kB / 0.6432 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.009057, allocations: 326.8 kB / 0.6435 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.009076, allocations: 4 kB / 0.6435 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.009138, allocations: 78.23 kB / 0.6436 GB, free: 8.004 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.009249, allocations: 116.9 kB / 0.6437 GB, free: 7.852 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.009253, allocations: 7.938 kB / 0.6437 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001453/0.009398, allocations: 97.59 kB / 0.6438 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.009412, allocations: 8 kB / 0.6438 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.009417, allocations: 0 / 0.6438 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.009432, allocations: 4 kB / 0.6438 GB, free: 7.73 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.009516, allocations: 27.92 kB / 0.6438 GB, free: 7.703 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.009522, allocations: 4 kB / 0.6438 GB, free: 7.699 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.009583, allocations: 15.89 kB / 0.6438 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.009594, allocations: 4 kB / 0.6438 GB, free: 7.68 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 8.585e-05/0.00968, allocations: 124.7 kB / 0.644 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.009721, allocations: 15.98 kB / 0.644 GB, free: 7.531 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.009855, allocations: 82.95 kB / 0.644 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.009859, allocations: 4 kB / 0.6441 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.00986, allocations: 0 / 0.6441 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.009863, allocations: 0 / 0.6441 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.01002, allocations: 105.8 kB / 0.6442 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01002, allocations: 0 / 0.6442 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.01007, allocations: 15.94 kB / 0.6442 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01007, allocations: 7.938 kB / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.01008, allocations: 0 / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01008, allocations: 3.984 kB / 0.6442 GB, free: 7.297 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01008, allocations: 4 kB / 0.6442 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.01019, allocations: 151.5 kB / 0.6443 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.01021, allocations: 15.84 kB / 0.6443 GB, free: 7.113 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.01022, allocations: 0 / 0.6443 GB, free: 7.113 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01035, allocations: 11.98 kB / 0.6444 GB, free: 7.102 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.01037, allocations: 11.97 kB / 0.6444 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.01039, allocations: 11.92 kB / 0.6444 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.01045, allocations: 55.05 kB / 0.6444 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.01045, allocations: 0 / 0.6444 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002895/0.01074, allocations: 31.94 kB / 0.6445 GB, free: 6.992 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.0002007/0.01094, allocations: 108.9 kB / 0.6446 GB, free: 6.875 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.01104, allocations: 45.28 kB / 0.6446 GB, free: 6.828 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.01105, allocations: 4.188 kB / 0.6446 GB, free: 6.824 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.01107, allocations: 28.81 kB / 0.6446 GB, free: 6.793 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01131, allocations: 31.91 kB / 0.6447 GB, free: 6.762 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.01169, allocations: 255.8 kB / 0.6449 GB, free: 6.484 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.024e-05/0.01175, allocations: 83.31 kB / 0.645 GB, free: 6.383 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.463e-05/0.01182, allocations: 24.92 kB / 0.645 GB, free: 6.359 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.01207, allocations: 107.2 kB / 0.6451 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of SimCode: time 6.91e-07/0.01207, allocations: 4 kB / 0.6451 GB, free: 6.25 MB / 0.6043 GB Notification: Performance of Templates: time 0.005238/0.01731, allocations: 2.736 MB / 0.6478 GB, free: 3.516 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 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4009281429462135]