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.04481/0.04481, allocations: 9.129 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.0009825/0.0009825, allocations: 95.2 kB / 35.33 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.001146/0.001146, allocations: 168.5 kB / 38.73 MB, free: 2.484 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.016/1.016, allocations: 177.2 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.004018/0.004018, allocations: 0.8221 MB / 276.5 MB, free: 0.7266 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.832/1.832, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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 1.493e-06/1.493e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.702e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Examples.TimeUtilities_test): time 0.002424/0.002441, allocations: 1.673 MB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.002787, allocations: 147.5 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.002832, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.002883, allocations: 15.86 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.00296, allocations: 11.88 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.003141, allocations: 43.83 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.003237, allocations: 79.83 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.003336, allocations: 34.22 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.003398, allocations: 43.91 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.003474, allocations: 31.89 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.003496, allocations: 8 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.00351, allocations: 8 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.003551, allocations: 35.84 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.003582, allocations: 23.92 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.003682, allocations: 59.81 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003685, allocations: 4 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003686, allocations: 0 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003689, allocations: 3.938 kB / 0.64 GB, free: 11.9 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.0003825/0.004072, allocations: 296.8 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.00411, allocations: 11.98 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.004142, allocations: 12.92 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.004237, allocations: 125.6 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.004251, allocations: 8.562 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004264, allocations: 12.38 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.004408, allocations: 109 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004416, allocations: 4 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.004426, allocations: 7.938 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.004433, allocations: 0 / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.004487, allocations: 43.88 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.004914, allocations: 330.9 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.00502, allocations: 83.95 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.005048, allocations: 21.72 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.005066, allocations: 4 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005084, allocations: 30.56 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.005085, allocations: 4 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0001535/0.005239, allocations: 85.58 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.005276, allocations: 77.11 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.005339, allocations: 126.7 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.005352, allocations: 25.7 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.005395, allocations: 103.9 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.005427, allocations: 39.83 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.005465, allocations: 33.7 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.005544, allocations: 322.8 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.005562, allocations: 15.92 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.005591, allocations: 29.95 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.005646, allocations: 52.5 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005648, allocations: 0 / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.913e-05/0.005727, allocations: 69.61 kB / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005739, allocations: 8 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.005749, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.005762, allocations: 7.984 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.005846, allocations: 16 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.00585, allocations: 0 / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.005883, allocations: 23.81 kB / 0.6421 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.005892, allocations: 4 kB / 0.6421 GB, free: 9.598 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.113e-05/0.005963, allocations: 120.6 kB / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.005994, allocations: 11.98 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.006028, allocations: 16.38 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.006032, allocations: 4 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.006034, allocations: 0 / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006038, allocations: 4 kB / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.006177, allocations: 101.8 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006178, allocations: 0 / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.006223, allocations: 19.98 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.006225, allocations: 0 / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.006236, allocations: 8 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.006239, allocations: 3.938 kB / 0.6423 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00624, allocations: 0 / 0.6423 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.006379, allocations: 238.8 kB / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.006393, allocations: 15.88 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.006405, allocations: 4 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.006462, allocations: 16.06 kB / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.006503, allocations: 11.98 kB / 0.6426 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.006508, allocations: 3.984 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.702e-05/0.006525, allocations: 16.84 kB / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006525, allocations: 0 / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001659/0.00669, allocations: 19.95 kB / 0.6426 GB, free: 8.945 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 6.909e-05/0.00676, allocations: 84.34 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.006848, allocations: 52.72 kB / 0.6428 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.006851, allocations: 4 kB / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.006887, allocations: 36.77 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.007049, allocations: 12 kB / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.007363, allocations: 200.5 kB / 0.643 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.007411, allocations: 67.2 kB / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.007449, allocations: 8.484 kB / 0.6431 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.007502, allocations: 63.36 kB / 0.6431 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of SimCode: time 1.323e-06/0.007504, allocations: 0 / 0.6431 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of Templates: time 0.002442/0.009945, allocations: 0.8896 MB / 0.644 GB, free: 7.477 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.686504632700235]