Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006765/0.0006765, 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.0008402/0.0008402, 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.9091/0.9091, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7225/0.7225, allocations: 154.9 MB / 414.9 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.0009345/0.0009345, allocations: 75.88 kB / 0.6199 GB, free: 12.75 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.442/0.4429, allocations: 102 MB / 0.7195 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002027/0.4449, allocations: 1.721 MB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.4459, allocations: 0.6187 MB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.446, allocations: 1.125 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.556e-05/0.4461, allocations: 10.5 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.4462, allocations: 37.05 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.4468, allocations: 363.3 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.4472, allocations: 0.6083 MB / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.4473, allocations: 20.23 kB / 0.7228 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.4477, allocations: 432.1 kB / 0.7232 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.4479, allocations: 144.2 kB / 0.7233 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.448, allocations: 40.31 kB / 0.7233 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.448, allocations: 41.09 kB / 0.7234 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4481, allocations: 128 kB / 0.7235 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4483, allocations: 178.1 kB / 0.7237 GB, free: 21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.4488, allocations: 0.6731 MB / 0.7243 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4488, allocations: 4 kB / 0.7243 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4488, allocations: 0 / 0.7243 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4488, allocations: 0 / 0.7243 GB, free: 20.73 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.0008921/0.4497, allocations: 0.8397 MB / 0.7252 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4498, allocations: 10.3 kB / 0.7252 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.4499, allocations: 57.38 kB / 0.7252 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.4501, allocations: 284.4 kB / 0.7255 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.4502, allocations: 23.48 kB / 0.7255 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.4502, allocations: 27.47 kB / 0.7255 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.4508, allocations: 258.6 kB / 0.7258 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4508, allocations: 192 / 0.7258 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.4508, allocations: 5.688 kB / 0.7258 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.4509, allocations: 6.156 kB / 0.7258 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.4512, allocations: 137.2 kB / 0.7259 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.452, allocations: 0.5372 MB / 0.7265 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.4525, allocations: 187.4 kB / 0.7266 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.4528, allocations: 126.6 kB / 0.7268 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.4529, allocations: 3.125 kB / 0.7268 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.4534, allocations: 247.1 kB / 0.727 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.4534, allocations: 0 / 0.727 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001349/0.4547, allocations: 0.531 MB / 0.7275 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.4548, allocations: 57.48 kB / 0.7276 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.4551, allocations: 452.3 kB / 0.728 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.4551, allocations: 45.41 kB / 0.728 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.4552, allocations: 109 kB / 0.7281 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4552, allocations: 33.16 kB / 0.7282 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.4554, allocations: 140.9 kB / 0.7283 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.4554, allocations: 325.9 kB / 0.7286 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.4556, allocations: 221.8 kB / 0.7288 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.4559, allocations: 277.5 kB / 0.7291 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.4561, allocations: 296.1 kB / 0.7294 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4561, allocations: 1.219 kB / 0.7294 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005918/0.4567, allocations: 0.6031 MB / 0.73 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.4567, allocations: 88.34 kB / 0.7301 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4567, allocations: 3.094 kB / 0.7301 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4568, allocations: 2.406 kB / 0.7301 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.4568, allocations: 27.89 kB / 0.7301 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4569, allocations: 6.75 kB / 0.7301 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.4571, allocations: 66.44 kB / 0.7302 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.4572, allocations: 66.48 kB / 0.7302 GB, free: 17.28 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.0001544/0.4573, allocations: 223.4 kB / 0.7304 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.4574, allocations: 38.83 kB / 0.7305 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.4574, allocations: 43.03 kB / 0.7305 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4574, allocations: 4.797 kB / 0.7305 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4574, allocations: 0 / 0.7305 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.4576, allocations: 183 kB / 0.7307 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.4577, allocations: 19.92 kB / 0.7307 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.4579, allocations: 43.45 kB / 0.7308 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.4579, allocations: 6.781 kB / 0.7308 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008446/0.4588, allocations: 464.7 kB / 0.7312 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009996/0.4598, allocations: 0.5676 MB / 0.7318 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003967/0.4602, allocations: 125.5 kB / 0.7319 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002976/0.4605, allocations: 320 kB / 0.7322 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of Backend: time 4.01e-07/0.4605, allocations: 0 / 0.7322 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006611/0.4611, allocations: 498.9 kB / 0.7327 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000711/0.4618, allocations: 0.9841 MB / 0.7336 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.009313/0.4712, allocations: 6.939 MB / 0.7404 GB, free: 13.95 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.148444311926141] Failed to read output from testmodel.py, exit status != 0: 0.47646584920585155 0.48554227600000005 0.03496846 Calling exit ...