Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.0007293/0.0007293, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0007847/0.0007847, allocations: 169.3 kB / 23.33 MB, free: 1.184 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.8507/0.8507, allocations: 177.1 MB / 203.7 MB, free: 5.719 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.03513/0.03513, allocations: 9.129 MB / 269.2 MB, free: 4.43 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.0004046/0.0004046, allocations: 23.95 kB / 328.7 MB, free: 5.797 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.507/1.507, allocations: 275 MB / 0.6476 GB, free: 2.824 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.9295 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.726e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001671/0.001688, allocations: 1.727 MB / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.002543, allocations: 0.6101 MB / 0.9318 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.002602, allocations: 5.344 kB / 0.9318 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 8.88e-05/0.002691, allocations: 14.31 kB / 0.9318 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.002801, allocations: 36.39 kB / 0.9319 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.003377, allocations: 376.5 kB / 0.9322 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.003775, allocations: 0.6035 MB / 0.9328 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.003862, allocations: 28.56 kB / 0.9328 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.004214, allocations: 419.2 kB / 0.9332 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.004412, allocations: 136.4 kB / 0.9334 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.004477, allocations: 44.94 kB / 0.9334 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.004541, allocations: 40.97 kB / 0.9334 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.004643, allocations: 126.9 kB / 0.9336 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.004769, allocations: 151.4 kB / 0.9337 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.005258, allocations: 0.6423 MB / 0.9343 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005261, allocations: 1.703 kB / 0.9343 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005261, allocations: 0 / 0.9343 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.005267, allocations: 0 / 0.9343 GB, free: 18.14 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.0007957/0.006063, allocations: 0.8467 MB / 0.9352 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.006098, allocations: 13.45 kB / 0.9352 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.00618, allocations: 60.92 kB / 0.9352 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.006423, allocations: 276.4 kB / 0.9355 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.006456, allocations: 22.69 kB / 0.9355 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.006513, allocations: 32.7 kB / 0.9356 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.007094, allocations: 248.5 kB / 0.9358 GB, free: 17.12 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.007102, allocations: 0.8906 kB / 0.9358 GB, free: 17.12 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.007123, allocations: 10.08 kB / 0.9358 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007128, allocations: 2.719 kB / 0.9358 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.007514, allocations: 134.7 kB / 0.9359 GB, free: 17.09 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.008225, allocations: 0.5291 MB / 0.9365 GB, free: 16.76 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.00877, allocations: 191.6 kB / 0.9366 GB, free: 16.7 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.009144, allocations: 130.2 kB / 0.9368 GB, free: 16.67 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.009165, allocations: 3.016 kB / 0.9368 GB, free: 16.67 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.009663, allocations: 247.4 kB / 0.937 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.009664, allocations: 0 / 0.937 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.001332/0.011, allocations: 0.5385 MB / 0.9375 GB, free: 16.45 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.01102, allocations: 58.83 kB / 0.9376 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.01133, allocations: 443.6 kB / 0.938 GB, free: 16.18 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.01137, allocations: 45.19 kB / 0.938 GB, free: 16.14 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.01142, allocations: 101.8 kB / 0.9381 GB, free: 16.05 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.01145, allocations: 37.75 kB / 0.9382 GB, free: 16.02 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.01158, allocations: 136.1 kB / 0.9383 GB, free: 15.96 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.01162, allocations: 326.6 kB / 0.9386 GB, free: 15.64 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.01184, allocations: 222.5 kB / 0.9388 GB, free: 15.52 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.01207, allocations: 280.3 kB / 0.9391 GB, free: 15.32 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01231, allocations: 298.3 kB / 0.9394 GB, free: 15.11 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01231, allocations: 1.125 kB / 0.9394 GB, free: 15.11 MB / 0.7293 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005972/0.01291, allocations: 0.6018 MB / 0.94 GB, free: 14.79 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.01295, allocations: 88.94 kB / 0.9401 GB, free: 14.71 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01296, allocations: 2.109 kB / 0.9401 GB, free: 14.71 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01297, allocations: 2.75 kB / 0.9401 GB, free: 14.71 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.01306, allocations: 27.17 kB / 0.9401 GB, free: 14.71 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.01307, allocations: 7.359 kB / 0.9401 GB, free: 14.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.01332, allocations: 69.95 kB / 0.9402 GB, free: 14.69 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.01339, allocations: 57.89 kB / 0.9402 GB, free: 14.69 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.0001554/0.01355, allocations: 226.4 kB / 0.9404 GB, free: 14.53 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.01359, allocations: 50.34 kB / 0.9405 GB, free: 14.5 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.01364, allocations: 43.38 kB / 0.9405 GB, free: 14.47 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01364, allocations: 0.7031 kB / 0.9405 GB, free: 14.47 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01364, allocations: 0 / 0.9405 GB, free: 14.47 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.01384, allocations: 178 kB / 0.9407 GB, free: 14.39 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.01389, allocations: 17.2 kB / 0.9407 GB, free: 14.38 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.0141, allocations: 38.83 kB / 0.9407 GB, free: 14.38 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.01413, allocations: 11.38 kB / 0.9408 GB, free: 14.38 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008744/0.01501, allocations: 468.1 kB / 0.9412 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008864/0.01589, allocations: 0.5706 MB / 0.9418 GB, free: 13.94 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003674/0.01626, allocations: 126.2 kB / 0.9419 GB, free: 13.91 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0002264/0.01649, allocations: 320 kB / 0.9422 GB, free: 13.77 MB / 0.7293 GB Notification: Performance of Backend: time 3.21e-07/0.01649, allocations: 0 / 0.9422 GB, free: 13.77 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.01707, allocations: 497.2 kB / 0.9427 GB, free: 13.42 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0006571/0.01773, allocations: 0.9871 MB / 0.9436 GB, free: 12.62 MB / 0.7293 GB Notification: Performance of Templates: time 0.008715/0.02644, allocations: 6.746 MB / 0.9502 GB, free: 11.36 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.731376266106963] Failed to read output from testmodel.py, exit status != 0: 0.031411356292665005 0.039125385000000006 0.032333877000000004 Calling exit ...