Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.0007236/0.0007236, 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.0007672/0.0007672, allocations: 165.3 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.8926/0.8926, 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.03457/0.03457, allocations: 9.123 MB / 269.2 MB, free: 4.461 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.0003727/0.0003727, allocations: 27.89 kB / 328.7 MB, free: 5.766 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.57/1.57, allocations: 275 MB / 0.6476 GB, free: 2.832 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.9295 GB, free: 20.86 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.737e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.86 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001656/0.001673, allocations: 1.726 MB / 0.9312 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.002513, allocations: 0.6151 MB / 0.9318 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.00257, allocations: 1 kB / 0.9318 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.002654, allocations: 14.53 kB / 0.9318 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.002755, allocations: 36.02 kB / 0.9319 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.003331, allocations: 377.8 kB / 0.9322 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.003709, allocations: 0.6028 MB / 0.9328 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.003793, allocations: 28.97 kB / 0.9328 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.004139, allocations: 427.5 kB / 0.9332 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.004332, allocations: 127.4 kB / 0.9334 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.004396, allocations: 40.78 kB / 0.9334 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.004461, allocations: 41.56 kB / 0.9334 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.004559, allocations: 131.7 kB / 0.9336 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.004677, allocations: 155 kB / 0.9337 GB, free: 18.35 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.005126, allocations: 0.6383 MB / 0.9343 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005129, allocations: 1.781 kB / 0.9343 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00513, allocations: 0 / 0.9343 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005134, allocations: 0 / 0.9343 GB, free: 18.11 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.0007421/0.005877, allocations: 0.845 MB / 0.9352 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.00591, allocations: 12.33 kB / 0.9352 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.005992, allocations: 57.48 kB / 0.9352 GB, free: 17.39 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.006225, allocations: 280.4 kB / 0.9355 GB, free: 17.17 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.006255, allocations: 19.08 kB / 0.9355 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.006306, allocations: 31.22 kB / 0.9355 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.006864, allocations: 261.1 kB / 0.9358 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.006871, allocations: 192 / 0.9358 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.006891, allocations: 7.203 kB / 0.9358 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.006895, allocations: 2.562 kB / 0.9358 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.007285, allocations: 130.7 kB / 0.9359 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.007951, allocations: 0.5325 MB / 0.9364 GB, free: 16.73 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.008486, allocations: 187.5 kB / 0.9366 GB, free: 16.67 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.008857, allocations: 128 kB / 0.9367 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.008876, allocations: 7.172 kB / 0.9368 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.009365, allocations: 242 kB / 0.937 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.009366, allocations: 0 / 0.937 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.001318/0.01068, allocations: 0.5384 MB / 0.9375 GB, free: 16.43 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.0107, allocations: 63.22 kB / 0.9376 GB, free: 16.36 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.011, allocations: 439.6 kB / 0.938 GB, free: 16.16 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.01104, allocations: 44.89 kB / 0.938 GB, free: 16.12 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.01109, allocations: 106.1 kB / 0.9381 GB, free: 16.02 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.01111, allocations: 41.64 kB / 0.9382 GB, free: 15.99 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.01124, allocations: 135.7 kB / 0.9383 GB, free: 15.93 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.01127, allocations: 326.9 kB / 0.9386 GB, free: 15.61 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.01148, allocations: 219.1 kB / 0.9388 GB, free: 15.48 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01169, allocations: 279.9 kB / 0.9391 GB, free: 15.29 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.01191, allocations: 294.3 kB / 0.9394 GB, free: 15.08 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01192, allocations: 4 kB / 0.9394 GB, free: 15.08 MB / 0.7293 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005481/0.01246, allocations: 0.6062 MB / 0.94 GB, free: 14.76 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.01251, allocations: 90.91 kB / 0.9401 GB, free: 14.68 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01251, allocations: 2.094 kB / 0.9401 GB, free: 14.68 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01253, allocations: 3.031 kB / 0.9401 GB, free: 14.68 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.01262, allocations: 23.75 kB / 0.9401 GB, free: 14.68 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01263, allocations: 7.734 kB / 0.9401 GB, free: 14.67 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.01287, allocations: 65.05 kB / 0.9402 GB, free: 14.66 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.01293, allocations: 59.03 kB / 0.9402 GB, free: 14.66 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.0001366/0.01307, allocations: 226 kB / 0.9404 GB, free: 14.5 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.0131, allocations: 46.75 kB / 0.9405 GB, free: 14.47 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.01315, allocations: 41.84 kB / 0.9405 GB, free: 14.45 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01315, allocations: 0.6094 kB / 0.9405 GB, free: 14.45 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01315, allocations: 5.484 kB / 0.9405 GB, free: 14.45 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.01334, allocations: 181 kB / 0.9407 GB, free: 14.36 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.01339, allocations: 17.27 kB / 0.9407 GB, free: 14.35 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.01359, allocations: 35.42 kB / 0.9407 GB, free: 14.35 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.01362, allocations: 17 kB / 0.9408 GB, free: 14.34 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008389/0.01446, allocations: 465.1 kB / 0.9412 GB, free: 14.18 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008551/0.01532, allocations: 0.5714 MB / 0.9418 GB, free: 13.91 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003569/0.01567, allocations: 133.1 kB / 0.9419 GB, free: 13.88 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0002048/0.01588, allocations: 319.6 kB / 0.9422 GB, free: 13.73 MB / 0.7293 GB Notification: Performance of Backend: time 2.4e-07/0.01588, allocations: 0 / 0.9422 GB, free: 13.73 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.01642, allocations: 486.5 kB / 0.9427 GB, free: 13.39 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0006023/0.01702, allocations: 0.9902 MB / 0.9436 GB, free: 12.59 MB / 0.7293 GB Notification: Performance of Templates: time 0.007312/0.02433, allocations: 6.741 MB / 0.9502 GB, free: 11.34 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.846184074878693] Failed to read output from testmodel.py, exit status != 0: 0.028961884789168835 0.036660080000000005 0.029901494 Calling exit ...