Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.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.00419/0.00419, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.004439/0.004439, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.081/1.081, allocations: 177.1 MB / 204.5 MB, free: 5.449 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-545:108: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-545:116: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.8017/0.8017, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.144e-05, allocations: 7.156 kB / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00206/0.002081, allocations: 1.543 MB / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.003055, allocations: 0.5357 MB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.003115, allocations: 5.062 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.003209, allocations: 3.938 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.003314, allocations: 28.59 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.003917, allocations: 316.8 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.004373, allocations: 487.4 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.004413, allocations: 4.922 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.004748, allocations: 363.5 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.004944, allocations: 126.4 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.004992, allocations: 28 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.005035, allocations: 24 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.00513, allocations: 123.7 kB / 0.525 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.005227, allocations: 123.7 kB / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.005506, allocations: 386.8 kB / 0.5254 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005509, allocations: 1.312 kB / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005509, allocations: 0 / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005514, allocations: 0 / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008412/0.006355, allocations: 0.9071 MB / 0.5263 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.006389, allocations: 13.06 kB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.006484, allocations: 56.66 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.006741, allocations: 266.7 kB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.006778, allocations: 21.61 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.006826, allocations: 28.38 kB / 0.5267 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.007145, allocations: 198.5 kB / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.007153, allocations: 192 / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.007174, allocations: 8.359 kB / 0.5269 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.007181, allocations: 5.375 kB / 0.5269 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.00726, allocations: 53.31 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.0075, allocations: 245 kB / 0.5272 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.00768, allocations: 117.8 kB / 0.5273 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.007904, allocations: 68.92 kB / 0.5274 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.00792, allocations: 0 / 0.5274 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.0081, allocations: 176.2 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.008101, allocations: 0 / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0004899/0.008591, allocations: 365 kB / 0.5279 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.008626, allocations: 64.22 kB / 0.5279 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.008848, allocations: 414.5 kB / 0.5283 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.008883, allocations: 43.53 kB / 0.5284 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.008939, allocations: 148.1 kB / 0.5285 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.008971, allocations: 35.72 kB / 0.5286 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.009093, allocations: 135.1 kB / 0.5287 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.009211, allocations: 0.4961 MB / 0.5292 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.009371, allocations: 164.4 kB / 0.5293 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.00954, allocations: 237 kB / 0.5296 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.009728, allocations: 253.3 kB / 0.5298 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009731, allocations: 0.9688 kB / 0.5298 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004833/0.01021, allocations: 0.5325 MB / 0.5303 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.01027, allocations: 80 kB / 0.5304 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01028, allocations: 0 / 0.5304 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.01029, allocations: 5.375 kB / 0.5304 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01041, allocations: 39.91 kB / 0.5304 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01041, allocations: 4 kB / 0.5304 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.0106, allocations: 56.36 kB / 0.5305 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.01065, allocations: 52.58 kB / 0.5305 GB, free: 8.371 MB / 0.4948 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001193/0.01077, allocations: 188.6 kB / 0.5307 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.01082, allocations: 43.77 kB / 0.5308 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.01086, allocations: 35.67 kB / 0.5308 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01086, allocations: 4 kB / 0.5308 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.01086, allocations: 0.875 kB / 0.5308 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01087, allocations: 0 / 0.5308 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.01146, allocations: 0.6051 MB / 0.5314 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01146, allocations: 3.938 kB / 0.5314 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.01149, allocations: 8 kB / 0.5314 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01149, allocations: 0.5 kB / 0.5314 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.01152, allocations: 20.47 kB / 0.5314 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01152, allocations: 8 kB / 0.5314 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01152, allocations: 4.656 kB / 0.5314 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.01189, allocations: 459.3 kB / 0.5319 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.01203, allocations: 114.2 kB / 0.532 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.01207, allocations: 15.98 kB / 0.532 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.01222, allocations: 23.23 kB / 0.532 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.01224, allocations: 11.92 kB / 0.532 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.01228, allocations: 59.97 kB / 0.5321 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001352/0.01242, allocations: 263 kB / 0.5323 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01242, allocations: 3.938 kB / 0.5323 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002343/0.01265, allocations: 67.98 kB / 0.5324 GB, free: 6.422 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.01277, allocations: 117.5 kB / 0.5325 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.01316, allocations: 415.5 kB / 0.5329 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01316, allocations: 4 kB / 0.5329 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.01325, allocations: 70.16 kB / 0.533 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01357, allocations: 51.02 kB / 0.533 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.0143, allocations: 485.7 kB / 0.5335 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.01436, allocations: 87.03 kB / 0.5336 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.0144, allocations: 13.14 kB / 0.5336 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.01456, allocations: 138.3 kB / 0.5337 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.01456, allocations: 0 / 0.5337 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.006805/0.02137, allocations: 5.479 MB / 0.5391 GB, free: 15.57 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9824819290079176]