Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json 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.0007287/0.0007287, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0008058/0.0008058, allocations: 165.7 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8719/0.8719, allocations: 177.1 MB / 203.7 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.03346/0.03346, allocations: 9.126 MB / 269.2 MB, free: 4.445 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003914/0.0003914, allocations: 23.95 kB / 328.7 MB, free: 5.781 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.502/1.502, allocations: 275 MB / 0.6476 GB, free: 2.859 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9295 GB, free: 20.8 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.143e-05, allocations: 3.406 kB / 0.9295 GB, free: 20.8 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001785/0.001807, allocations: 1.727 MB / 0.9312 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.00271, allocations: 0.6057 MB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.002769, allocations: 1.562 kB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 9.336e-05/0.002862, allocations: 14.58 kB / 0.9318 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.002975, allocations: 32.61 kB / 0.9318 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.003564, allocations: 385.3 kB / 0.9322 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.003958, allocations: 0.6044 MB / 0.9328 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.004053, allocations: 32.3 kB / 0.9328 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.004412, allocations: 419 kB / 0.9332 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.004611, allocations: 128.1 kB / 0.9333 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.004674, allocations: 44.98 kB / 0.9334 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.00473, allocations: 45 kB / 0.9334 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.004834, allocations: 128.6 kB / 0.9336 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.004947, allocations: 153.2 kB / 0.9337 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.005416, allocations: 0.6398 MB / 0.9343 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005419, allocations: 1.062 kB / 0.9343 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00542, allocations: 0 / 0.9343 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.005425, allocations: 0 / 0.9343 GB, free: 18.05 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008027/0.006228, allocations: 0.8449 MB / 0.9352 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.006264, allocations: 13.02 kB / 0.9352 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.006347, allocations: 57.08 kB / 0.9352 GB, free: 17.33 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.006593, allocations: 285.1 kB / 0.9355 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.006626, allocations: 18.97 kB / 0.9355 GB, free: 17.1 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.006677, allocations: 31.36 kB / 0.9355 GB, free: 17.1 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.007237, allocations: 256.3 kB / 0.9358 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007246, allocations: 0.75 kB / 0.9358 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.007265, allocations: 2.75 kB / 0.9358 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.00727, allocations: 2.938 kB / 0.9358 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.007648, allocations: 134.4 kB / 0.9359 GB, free: 17 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.008357, allocations: 0.5302 MB / 0.9364 GB, free: 16.67 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.008882, allocations: 191.4 kB / 0.9366 GB, free: 16.61 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.009252, allocations: 127.5 kB / 0.9367 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.009275, allocations: 1.062 kB / 0.9367 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.009764, allocations: 246.2 kB / 0.937 GB, free: 16.5 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.009766, allocations: 0 / 0.937 GB, free: 16.5 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.001314/0.01108, allocations: 0.5386 MB / 0.9375 GB, free: 16.37 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.0111, allocations: 62.69 kB / 0.9376 GB, free: 16.3 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.0114, allocations: 441 kB / 0.938 GB, free: 16.1 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.01144, allocations: 44.95 kB / 0.938 GB, free: 16.06 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.01149, allocations: 104.6 kB / 0.9381 GB, free: 15.96 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.01151, allocations: 37.77 kB / 0.9382 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01164, allocations: 136.6 kB / 0.9383 GB, free: 15.88 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.01168, allocations: 329.9 kB / 0.9386 GB, free: 15.55 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.01193, allocations: 218.8 kB / 0.9388 GB, free: 15.43 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.01216, allocations: 280.2 kB / 0.9391 GB, free: 15.24 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.01239, allocations: 298.5 kB / 0.9394 GB, free: 15.02 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.0124, allocations: 5.062 kB / 0.9394 GB, free: 15.02 MB / 0.7293 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005611/0.01296, allocations: 0.6011 MB / 0.94 GB, free: 14.7 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.01301, allocations: 95.45 kB / 0.94 GB, free: 14.62 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.01302, allocations: 2.688 kB / 0.9401 GB, free: 14.62 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.01303, allocations: 2.625 kB / 0.9401 GB, free: 14.62 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.01312, allocations: 23.23 kB / 0.9401 GB, free: 14.62 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01313, allocations: 6.891 kB / 0.9401 GB, free: 14.61 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.01338, allocations: 61.86 kB / 0.9401 GB, free: 14.61 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.01345, allocations: 58.17 kB / 0.9402 GB, free: 14.61 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001445/0.01359, allocations: 231.7 kB / 0.9404 GB, free: 14.44 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.01363, allocations: 50.67 kB / 0.9405 GB, free: 14.41 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.01367, allocations: 41.91 kB / 0.9405 GB, free: 14.38 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01368, allocations: 1.578 kB / 0.9405 GB, free: 14.38 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01368, allocations: 0.5625 kB / 0.9405 GB, free: 14.38 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.01387, allocations: 176.7 kB / 0.9407 GB, free: 14.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.01391, allocations: 17.3 kB / 0.9407 GB, free: 14.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.01413, allocations: 39.84 kB / 0.9407 GB, free: 14.29 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.01416, allocations: 11.56 kB / 0.9407 GB, free: 14.29 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008477/0.01501, allocations: 464.4 kB / 0.9412 GB, free: 14.12 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008584/0.01587, allocations: 0.578 MB / 0.9417 GB, free: 13.84 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003625/0.01623, allocations: 117.5 kB / 0.9419 GB, free: 13.83 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0002132/0.01644, allocations: 320.5 kB / 0.9422 GB, free: 13.68 MB / 0.7293 GB Notification: Performance of Backend: time 4e-07/0.01644, allocations: 0 / 0.9422 GB, free: 13.68 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.01702, allocations: 494 kB / 0.9426 GB, free: 13.33 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0006442/0.01766, allocations: 0.9863 MB / 0.9436 GB, free: 12.53 MB / 0.7293 GB Notification: Performance of Templates: time 0.007747/0.02541, allocations: 6.746 MB / 0.9502 GB, free: 11.27 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.847478413954377] Failed to read output from testmodel.py, exit status != 0: 0.03028965461999178 0.037947731000000005 0.030961216000000003 Calling exit ...