Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007916/0.0007916, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.000803/0.000803, allocations: 173.2 kB / 23.19 MB, free: 1.367 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.8954/0.8954, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7441/0.7441, 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [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.0009445/0.0009445, allocations: 63.89 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.4633/0.4642, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00209/0.4663, allocations: 1.716 MB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.4673, allocations: 0.6101 MB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.4674, allocations: 1.156 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.4675, allocations: 11.86 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.4676, allocations: 32.09 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.4683, allocations: 374.7 kB / 0.7222 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.4687, allocations: 0.6044 MB / 0.7228 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4688, allocations: 23.75 kB / 0.7228 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.4692, allocations: 427.2 kB / 0.7232 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.4694, allocations: 148.2 kB / 0.7233 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.4695, allocations: 40.94 kB / 0.7234 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.4696, allocations: 40.91 kB / 0.7234 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4697, allocations: 128.2 kB / 0.7235 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.4698, allocations: 179.2 kB / 0.7237 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.4704, allocations: 0.6732 MB / 0.7244 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4704, allocations: 0.6562 kB / 0.7244 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4704, allocations: 1.188 kB / 0.7244 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.4704, allocations: 0 / 0.7244 GB, free: 20.7 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.0008866/0.4713, allocations: 0.8401 MB / 0.7252 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4713, allocations: 11.28 kB / 0.7252 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.4714, allocations: 61.41 kB / 0.7252 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.4717, allocations: 276.2 kB / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.4717, allocations: 23.45 kB / 0.7255 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.4718, allocations: 31.28 kB / 0.7256 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.4724, allocations: 256.4 kB / 0.7258 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4724, allocations: 8.125 kB / 0.7258 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.4724, allocations: 6.344 kB / 0.7258 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4724, allocations: 2.625 kB / 0.7258 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.4728, allocations: 130.5 kB / 0.7259 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.4736, allocations: 0.5333 MB / 0.7265 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.4741, allocations: 192.1 kB / 0.7267 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.4745, allocations: 122 kB / 0.7268 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4745, allocations: 2.969 kB / 0.7268 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.475, allocations: 249.8 kB / 0.727 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.475, allocations: 4 kB / 0.727 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001361/0.4764, allocations: 0.523 MB / 0.7275 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4764, allocations: 70.75 kB / 0.7276 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.4768, allocations: 449 kB / 0.728 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.4768, allocations: 40.05 kB / 0.7281 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.4769, allocations: 106.3 kB / 0.7282 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4769, allocations: 36.89 kB / 0.7282 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4771, allocations: 139.7 kB / 0.7283 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.4771, allocations: 326.6 kB / 0.7286 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.4773, allocations: 218.5 kB / 0.7288 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.4775, allocations: 275.7 kB / 0.7291 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.4778, allocations: 300 kB / 0.7294 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4778, allocations: 0 / 0.7294 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005886/0.4784, allocations: 0.6045 MB / 0.73 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.4784, allocations: 89.14 kB / 0.7301 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4784, allocations: 1.469 kB / 0.7301 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4785, allocations: 6.844 kB / 0.7301 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4786, allocations: 24.14 kB / 0.7301 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4786, allocations: 3.609 kB / 0.7301 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.4788, allocations: 69.33 kB / 0.7302 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.4789, allocations: 66.7 kB / 0.7302 GB, free: 17.25 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.0001752/0.4791, allocations: 230.9 kB / 0.7305 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.4791, allocations: 38.33 kB / 0.7305 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.4792, allocations: 38.91 kB / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4792, allocations: 2.594 kB / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4792, allocations: 0 / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.4794, allocations: 185.1 kB / 0.7307 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.4795, allocations: 17.36 kB / 0.7307 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4797, allocations: 42 kB / 0.7308 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.4797, allocations: 9.094 kB / 0.7308 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008464/0.4806, allocations: 460.2 kB / 0.7312 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008639/0.4814, allocations: 0.5739 MB / 0.7318 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003574/0.4818, allocations: 119.1 kB / 0.7319 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002529/0.4821, allocations: 320.2 kB / 0.7322 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of Backend: time 6.01e-07/0.4821, allocations: 0 / 0.7322 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006368/0.4827, allocations: 0.4907 MB / 0.7327 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0007666/0.4835, allocations: 0.9891 MB / 0.7336 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.01017/0.4936, allocations: 6.945 MB / 0.7404 GB, free: 13.93 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.209471452981234] Failed to read output from testmodel.py, exit status != 0: 0.49964655307121575 0.507732253 0.035421912 Calling exit ...