Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Examples.TimeUtilities_test.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.08393/0.08393, allocations: 9.126 MB / 28.99 MB, free: 0.8086 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.001345/0.001345, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.001095/0.001095, allocations: 164.1 kB / 38.73 MB, free: 2.508 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.9502/0.9502, 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.003767/0.003767, allocations: 0.8244 MB / 276.5 MB, free: 0.7188 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.71/1.71, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.Examples.TimeUtilities_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1008,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Examples.TimeUtilities_test") translateModel(AixLib.Utilities.Examples.TimeUtilities_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1008,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Examples.TimeUtilities_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6378 GB, free: 14.22 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.577e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.21 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Examples.TimeUtilities_test): time 0.003479/0.003515, allocations: 1.63 MB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.003944, allocations: 151.5 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.004, allocations: 0 / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 6.511e-05/0.004065, allocations: 11.86 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.004155, allocations: 11.81 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.00438, allocations: 35.97 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.004511, allocations: 87.81 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.00464, allocations: 26.17 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.004724, allocations: 51.89 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.004813, allocations: 27.91 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.004848, allocations: 12 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.00487, allocations: 12 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.004917, allocations: 27.84 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.00496, allocations: 35.84 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.005089, allocations: 55.81 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005092, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005094, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.005098, allocations: 0 / 0.6399 GB, free: 12.02 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004463/0.005544, allocations: 296.8 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.00559, allocations: 11.98 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.005634, allocations: 20.92 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.00574, allocations: 129.5 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.005756, allocations: 8.562 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.005773, allocations: 4.375 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.005953, allocations: 113.1 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005961, allocations: 0 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.005973, allocations: 8 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.00598, allocations: 3.938 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.006049, allocations: 31.91 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.006516, allocations: 331.1 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.006662, allocations: 84 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.006704, allocations: 25.66 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.006729, allocations: 8 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.006753, allocations: 34.55 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.006755, allocations: 0 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0002117/0.006966, allocations: 89.58 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.007011, allocations: 77.11 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.007097, allocations: 122.7 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.007112, allocations: 29.7 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.007158, allocations: 107.8 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.007201, allocations: 39.67 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.007248, allocations: 29.69 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.007348, allocations: 322.8 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.007374, allocations: 11.98 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.007411, allocations: 21.72 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.129e-05/0.007492, allocations: 56.69 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.007496, allocations: 4 kB / 0.6418 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001156/0.007611, allocations: 69.59 kB / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007625, allocations: 4 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007632, allocations: 8 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.007645, allocations: 0 / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.007752, allocations: 20 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007756, allocations: 3.984 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.007805, allocations: 15.83 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.007814, allocations: 4 kB / 0.642 GB, free: 9.719 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (boolNightMode,nightMode.lessEqualThreshold.y,nightMode.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.978e-05/0.007894, allocations: 112.7 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.007945, allocations: 19.92 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.007987, allocations: 8.438 kB / 0.6421 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.007991, allocations: 7.938 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.007993, allocations: 4 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.007997, allocations: 0 / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.008216, allocations: 101.8 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.00822, allocations: 4 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.008293, allocations: 19.98 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008296, allocations: 4 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.008304, allocations: 0 / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008306, allocations: 0 / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008307, allocations: 0 / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.008483, allocations: 254.9 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.008499, allocations: 19.88 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.008514, allocations: 4 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.008623, allocations: 8 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.008666, allocations: 11.97 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.008674, allocations: 4.062 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.008698, allocations: 16.86 kB / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008698, allocations: 0 / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002921/0.00899, allocations: 15.95 kB / 0.6425 GB, free: 9.066 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (nightMode.greaterThreshold.y,nightMode.lessEqualThreshold.y,boolNightMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001206/0.00911, allocations: 84.41 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.009233, allocations: 60.7 kB / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.009236, allocations: 0 / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.00929, allocations: 32.78 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.009574, allocations: 11.91 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.01, allocations: 204.5 kB / 0.6429 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.01006, allocations: 67.2 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.793e-05/0.01012, allocations: 8.484 kB / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.0102, allocations: 71.36 kB / 0.6431 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of SimCode: time 1.012e-06/0.0102, allocations: 0 / 0.6431 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of Templates: time 0.003215/0.01341, allocations: 0.8934 MB / 0.6439 GB, free: 7.582 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Examples.TimeUtilities_test.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe ; mkfifo AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe >> ../files/AixLib_AixLib.Utilities.Examples.TimeUtilities_test.sim & ./AixLib_AixLib.Utilities.Examples.TimeUtilities_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.395488595124334]