Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007156/0.0007156, allocations: 84.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0008338/0.0008338, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9163/0.9163, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.751/0.751, allocations: 154.7 MB / 414.7 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 71.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5229, allocations: 101.9 MB / 0.7192 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002564/0.5255, allocations: 1.724 MB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.5266, allocations: 0.6102 MB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.5267, allocations: 7.938 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.5268, allocations: 11.97 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.5269, allocations: 32.33 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.5278, allocations: 374.6 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000576/0.5284, allocations: 0.5952 MB / 0.7224 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.5285, allocations: 29.02 kB / 0.7225 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.5289, allocations: 424 kB / 0.7229 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.5292, allocations: 151.7 kB / 0.723 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.5293, allocations: 40.88 kB / 0.723 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.5294, allocations: 41.16 kB / 0.7231 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.5295, allocations: 120.2 kB / 0.7232 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.5296, allocations: 182.8 kB / 0.7234 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.5303, allocations: 0.6696 MB / 0.724 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5303, allocations: 0 / 0.724 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5303, allocations: 1 kB / 0.724 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.5303, allocations: 3.938 kB / 0.724 GB, free: 20.9 MB / 0.6355 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.001186/0.5315, allocations: 0.8448 MB / 0.7249 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5315, allocations: 9.125 kB / 0.7249 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.5317, allocations: 57.39 kB / 0.7249 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.5319, allocations: 285 kB / 0.7252 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.532, allocations: 19.83 kB / 0.7252 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.532, allocations: 30.42 kB / 0.7252 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.5326, allocations: 249.6 kB / 0.7255 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5326, allocations: 4.188 kB / 0.7255 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.5327, allocations: 10.53 kB / 0.7255 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5327, allocations: 2.344 kB / 0.7255 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.5331, allocations: 127 kB / 0.7256 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.5339, allocations: 0.537 MB / 0.7261 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.5344, allocations: 195.8 kB / 0.7263 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.5348, allocations: 121.5 kB / 0.7264 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.5348, allocations: 3.125 kB / 0.7264 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.5354, allocations: 250.3 kB / 0.7267 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.5354, allocations: 0 / 0.7267 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001527/0.5369, allocations: 0.5311 MB / 0.7272 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5369, allocations: 62.69 kB / 0.7273 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.5374, allocations: 447.6 kB / 0.7277 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.5374, allocations: 41.94 kB / 0.7277 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5375, allocations: 105 kB / 0.7278 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.5376, allocations: 41.72 kB / 0.7279 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.5378, allocations: 135.2 kB / 0.728 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.5378, allocations: 334.5 kB / 0.7283 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.5381, allocations: 218.3 kB / 0.7285 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.5384, allocations: 276.8 kB / 0.7288 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.5387, allocations: 295.8 kB / 0.7291 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5387, allocations: 4 kB / 0.7291 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000773/0.5395, allocations: 0.6107 MB / 0.7297 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/0.5396, allocations: 89.23 kB / 0.7298 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5396, allocations: 1.5 kB / 0.7298 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.5396, allocations: 2.625 kB / 0.7298 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5398, allocations: 24.28 kB / 0.7298 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.5398, allocations: 6.484 kB / 0.7298 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.5401, allocations: 73.62 kB / 0.7299 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5402, allocations: 58.47 kB / 0.7299 GB, free: 17.45 MB / 0.6355 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.0002597/0.5405, allocations: 222.5 kB / 0.7301 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.5405, allocations: 38.36 kB / 0.7302 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.5406, allocations: 42.36 kB / 0.7302 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.5406, allocations: 1.359 kB / 0.7302 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5406, allocations: 3.938 kB / 0.7302 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.5409, allocations: 184.7 kB / 0.7304 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.541, allocations: 21.28 kB / 0.7304 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.5413, allocations: 47.28 kB / 0.7305 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.5414, allocations: 7.234 kB / 0.7305 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000875/0.5422, allocations: 461.7 kB / 0.7309 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008725/0.5431, allocations: 0.5699 MB / 0.7315 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003771/0.5435, allocations: 125.9 kB / 0.7316 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000287/0.5438, allocations: 319.9 kB / 0.7319 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of Backend: time 4.4e-07/0.5438, allocations: 0 / 0.7319 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.5445, allocations: 491.2 kB / 0.7323 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008541/0.5454, allocations: 0.9918 MB / 0.7333 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.01095/0.5563, allocations: 6.932 MB / 0.7401 GB, free: 14.12 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.380471274955198] Failed to read output from testmodel.py, exit status != 0: 0.5656833259854466 0.576696693 0.044450867000000005 Calling exit ...