Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008355/0.0008355, 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.0009166/0.0009166, 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.9037/0.9037, 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.7251/0.7251, allocations: 154.9 MB / 414.9 MB, free: 0.5078 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009508/0.0009508, allocations: 73.03 kB / 0.6199 GB, free: 12.71 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.464/0.465, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001979/0.467, allocations: 1.72 MB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.468, allocations: 0.6115 MB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.468, allocations: 1.5 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.829e-05/0.4681, allocations: 14.27 kB / 0.7218 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.4682, allocations: 36.42 kB / 0.7218 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.4689, allocations: 374.3 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.4694, allocations: 0.6001 MB / 0.7228 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4695, allocations: 24.97 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.4699, allocations: 428 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.4701, allocations: 144.8 kB / 0.7233 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.4701, allocations: 39.66 kB / 0.7234 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.4702, allocations: 41.34 kB / 0.7234 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4703, allocations: 127.3 kB / 0.7235 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.4704, allocations: 182.8 kB / 0.7237 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.4709, allocations: 0.6699 MB / 0.7244 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4709, allocations: 0 / 0.7244 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4709, allocations: 0.75 kB / 0.7244 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4709, allocations: 1.438 kB / 0.7244 GB, free: 20.66 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.000834/0.4718, allocations: 0.8477 MB / 0.7252 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4718, allocations: 10.03 kB / 0.7252 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.4719, allocations: 58.31 kB / 0.7253 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.4721, allocations: 276.1 kB / 0.7255 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.4722, allocations: 23.88 kB / 0.7255 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.4722, allocations: 31.66 kB / 0.7256 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.4728, allocations: 250.6 kB / 0.7258 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4728, allocations: 10.48 kB / 0.7258 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.4728, allocations: 18.25 kB / 0.7258 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4728, allocations: 1.469 kB / 0.7258 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.4732, allocations: 126.7 kB / 0.726 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.474, allocations: 0.5328 MB / 0.7265 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.4745, allocations: 191.4 kB / 0.7267 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.4749, allocations: 123.4 kB / 0.7268 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4749, allocations: 2.594 kB / 0.7268 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/0.4754, allocations: 246.5 kB / 0.727 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.4754, allocations: 0 / 0.727 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001335/0.4768, allocations: 0.5351 MB / 0.7275 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.4768, allocations: 62.59 kB / 0.7276 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.4771, allocations: 445 kB / 0.728 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.4771, allocations: 44.73 kB / 0.7281 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.4772, allocations: 104.8 kB / 0.7282 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.4772, allocations: 42.47 kB / 0.7282 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4773, allocations: 134.4 kB / 0.7283 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.56e-05/0.4774, allocations: 334.3 kB / 0.7287 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.4776, allocations: 219.5 kB / 0.7289 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4778, allocations: 275.7 kB / 0.7291 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.4781, allocations: 296.1 kB / 0.7294 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4781, allocations: 1.062 kB / 0.7294 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000573/0.4787, allocations: 0.6063 MB / 0.73 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.4787, allocations: 85.91 kB / 0.7301 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4787, allocations: 1.25 kB / 0.7301 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4787, allocations: 3.734 kB / 0.7301 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.4788, allocations: 27.38 kB / 0.7301 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4788, allocations: 2.75 kB / 0.7301 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.4791, allocations: 74.8 kB / 0.7302 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.4792, allocations: 61.27 kB / 0.7302 GB, free: 17.2 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.0001554/0.4793, allocations: 224.1 kB / 0.7305 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.4793, allocations: 38.25 kB / 0.7305 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.4794, allocations: 43.81 kB / 0.7305 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4794, allocations: 0.6562 kB / 0.7305 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4794, allocations: 0.6562 kB / 0.7305 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.4796, allocations: 186 kB / 0.7307 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.4797, allocations: 16.23 kB / 0.7307 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.4799, allocations: 43.53 kB / 0.7308 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.4799, allocations: 12.44 kB / 0.7308 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009139/0.4808, allocations: 462.9 kB / 0.7312 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008862/0.4817, allocations: 0.5677 MB / 0.7318 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003643/0.4821, allocations: 123.3 kB / 0.7319 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000226/0.4823, allocations: 318.7 kB / 0.7322 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of Backend: time 5.31e-07/0.4823, allocations: 0 / 0.7322 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.4829, allocations: 494.4 kB / 0.7327 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0007394/0.4837, allocations: 0.9923 MB / 0.7336 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.008805/0.4925, allocations: 6.939 MB / 0.7404 GB, free: 13.89 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.236264343839139] Failed to read output from testmodel.py, exit status != 0: 0.500164738856256 0.50858717 0.035908127000000005 Calling exit ...