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.04635/0.04635, allocations: 9.128 MB / 28.99 MB, free: 340 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.0008369/0.0008369, allocations: 95.02 kB / 35.33 MB, free: 0.9336 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.001043/0.001043, allocations: 166.1 kB / 38.73 MB, free: 2.398 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.007/1.007, 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.004168/0.004168, allocations: 0.833 MB / 276.5 MB, free: 0.75 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.604/1.604, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.684e-06/1.684e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.339e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002553/0.002577, allocations: 1.435 MB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.002722, allocations: 47.75 kB / 0.6393 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.002761, allocations: 0 / 0.6393 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.00292, allocations: 11.88 kB / 0.6393 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.003029, allocations: 19.91 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.966e-06/0.003032, allocations: 0 / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.003095, allocations: 15.88 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.00313, allocations: 4 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.003181, allocations: 15.98 kB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.003234, allocations: 7.984 kB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003251, allocations: 3.938 kB / 0.6394 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.347e-05/0.003294, allocations: 8 kB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.00333, allocations: 7.984 kB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.003343, allocations: 4 kB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.839e-05/0.003442, allocations: 27.86 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003444, allocations: 0 / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003444, allocations: 0 / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003448, allocations: 0 / 0.6394 GB, free: 12.54 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.00024/0.003688, allocations: 236.9 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.003721, allocations: 11.98 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.003745, allocations: 4.938 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.003871, allocations: 134.4 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.00388, allocations: 4.375 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.003887, allocations: 384 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.408e-05/0.003951, allocations: 37.02 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003958, allocations: 192 / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.003964, allocations: 4.359 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.003988, allocations: 8.359 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.136e-05/0.003999, allocations: 7.938 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.648e-05/0.004076, allocations: 62.7 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.004109, allocations: 14.58 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.004122, allocations: 4.859 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.004135, allocations: 11.97 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.004154, allocations: 30.56 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.004155, allocations: 0 / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 8.079e-05/0.004236, allocations: 33.69 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.00427, allocations: 55.41 kB / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.004347, allocations: 114.7 kB / 0.6401 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.004356, allocations: 29.83 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.004387, allocations: 84.14 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.004404, allocations: 0 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.004427, allocations: 13.7 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.004513, allocations: 322.8 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.00452, allocations: 3.938 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.004525, allocations: 0 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/0.004548, allocations: 11.69 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.004549, allocations: 0 / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.841e-05/0.004598, allocations: 33.77 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004609, allocations: 8 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004614, allocations: 0 / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.004626, allocations: 3.984 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.004664, allocations: 0 / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.004666, allocations: 0 / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.004677, allocations: 0 / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.004683, allocations: 4 kB / 0.6406 GB, free: 11.11 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.603e-05/0.004739, allocations: 116.5 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-06/0.004746, allocations: 0 / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.004807, allocations: 45.19 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.004808, allocations: 4 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.00481, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004812, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.004879, allocations: 73.83 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.004881, allocations: 3.984 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.004892, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.004894, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.004897, allocations: 4 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.004898, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.004899, allocations: 3.938 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.23e-05/0.004952, allocations: 67.88 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.004963, allocations: 7.938 kB / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.00497, allocations: 0 / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-06/0.004979, allocations: 0 / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.004989, allocations: 0 / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.004992, allocations: 4 kB / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.089e-05/0.005013, allocations: 16.84 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.005013, allocations: 0 / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001639/0.005177, allocations: 4 kB / 0.641 GB, free: 10.71 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.0001657/0.005342, allocations: 96.31 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.439e-05/0.005387, allocations: 8.859 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.005389, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-06/0.005398, allocations: 12.8 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.435e-05/0.005463, allocations: 7.922 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.005669, allocations: 115.6 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.005698, allocations: 55.36 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.556e-05/0.005714, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.005745, allocations: 51.38 kB / 0.6413 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of SimCode: time 4.21e-07/0.005745, allocations: 0 / 0.6413 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of Templates: time 0.00238/0.008126, allocations: 0.5805 MB / 0.6419 GB, free: 9.727 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 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.396064773667604]