Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.000842/0.000842, allocations: 80.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.0008921/0.0008921, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9383/0.9383, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7438/0.7438, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.001068/0.001068, allocations: 71.89 kB / 0.6196 GB, free: 13.08 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.5168/0.5179, allocations: 102 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002421/0.5203, allocations: 1.713 MB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.5216, allocations: 0.6102 MB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.5218, allocations: 0 / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.5219, allocations: 15.91 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.5221, allocations: 31.56 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.5232, allocations: 374.8 kB / 0.7218 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000634/0.5238, allocations: 0.6062 MB / 0.7224 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5239, allocations: 26.38 kB / 0.7225 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.5244, allocations: 422.8 kB / 0.7229 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.5248, allocations: 149 kB / 0.723 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.5249, allocations: 40.28 kB / 0.723 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.5249, allocations: 41.25 kB / 0.7231 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.5251, allocations: 123.5 kB / 0.7232 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.5253, allocations: 178.5 kB / 0.7234 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007837/0.5261, allocations: 0.6706 MB / 0.724 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5261, allocations: 4 kB / 0.724 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5261, allocations: 0 / 0.724 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.5261, allocations: 1 kB / 0.724 GB, free: 20.86 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.001093/0.5272, allocations: 0.8449 MB / 0.7248 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5272, allocations: 8.281 kB / 0.7249 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.5273, allocations: 58.22 kB / 0.7249 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.5277, allocations: 284.1 kB / 0.7252 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.5277, allocations: 19.36 kB / 0.7252 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.5278, allocations: 32.05 kB / 0.7252 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.5284, allocations: 256.7 kB / 0.7255 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5284, allocations: 192 / 0.7255 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.5284, allocations: 6.516 kB / 0.7255 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.5284, allocations: 2.438 kB / 0.7255 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.5288, allocations: 127.7 kB / 0.7256 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.5297, allocations: 0.5401 MB / 0.7261 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.5302, allocations: 182.5 kB / 0.7263 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.5306, allocations: 123.8 kB / 0.7264 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.5306, allocations: 2.656 kB / 0.7264 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005745/0.5312, allocations: 251 kB / 0.7267 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.5312, allocations: 0 / 0.7267 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001377/0.5325, allocations: 0.5237 MB / 0.7272 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.5326, allocations: 66.34 kB / 0.7272 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.533, allocations: 447.7 kB / 0.7277 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.533, allocations: 44.97 kB / 0.7277 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.5331, allocations: 106.3 kB / 0.7278 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5331, allocations: 36.45 kB / 0.7278 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.5333, allocations: 139.9 kB / 0.728 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.5333, allocations: 326.8 kB / 0.7283 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.5336, allocations: 217.5 kB / 0.7285 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.5338, allocations: 278 kB / 0.7288 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.5341, allocations: 295.3 kB / 0.729 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5341, allocations: 1.25 kB / 0.729 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000625/0.5347, allocations: 0.6088 MB / 0.7296 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.5348, allocations: 88.94 kB / 0.7297 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5348, allocations: 1.688 kB / 0.7297 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5348, allocations: 2.906 kB / 0.7297 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5349, allocations: 20.45 kB / 0.7298 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.5349, allocations: 10.31 kB / 0.7298 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.5352, allocations: 78.25 kB / 0.7298 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.5353, allocations: 62.19 kB / 0.7299 GB, free: 17.41 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.0001706/0.5355, allocations: 222.4 kB / 0.7301 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.5355, allocations: 37.48 kB / 0.7301 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.5356, allocations: 39.3 kB / 0.7302 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5356, allocations: 9.203 kB / 0.7302 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5356, allocations: 0 / 0.7302 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.5358, allocations: 188.9 kB / 0.7304 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.5358, allocations: 17.75 kB / 0.7304 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.536, allocations: 43.25 kB / 0.7304 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.5361, allocations: 6.688 kB / 0.7304 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008664/0.5369, allocations: 460.3 kB / 0.7309 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008982/0.5378, allocations: 0.5748 MB / 0.7314 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003657/0.5382, allocations: 118.9 kB / 0.7315 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002881/0.5385, allocations: 320.3 kB / 0.7319 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of Backend: time 8.61e-07/0.5385, allocations: 0 / 0.7319 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.5392, allocations: 493.6 kB / 0.7323 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0009097/0.5401, allocations: 0.9899 MB / 0.7333 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.01119/0.5513, allocations: 6.942 MB / 0.7401 GB, free: 14.09 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.327841567108408] Failed to read output from testmodel.py, exit status != 0: 0.5577015778981149 0.572001326 0.043178414000000005 Calling exit ...