Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001355/0.001355, allocations: 88.72 kB / 19.44 MB, free: 352 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.001541/0.001541, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.266/1.266, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 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 178] 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.5198 GB, free: 2.363 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.825e-05/4.033e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.359 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.004927/0.004967, allocations: 1.509 MB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.007369, allocations: 0.5258 MB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.007437, allocations: 3.938 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.007591, allocations: 9.5 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.007776, allocations: 27.86 kB / 0.5219 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.009324, allocations: 324.1 kB / 0.5222 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.0103, allocations: 488.8 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.64e-05/0.01036, allocations: 8 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/0.01128, allocations: 347.6 kB / 0.523 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.01182, allocations: 136.6 kB / 0.5231 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.01196, allocations: 28 kB / 0.5231 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.01208, allocations: 28 kB / 0.5232 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.01232, allocations: 120.3 kB / 0.5233 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.01261, allocations: 129 kB / 0.5234 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009125/0.01352, allocations: 458.7 kB / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01353, allocations: 3.938 kB / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01353, allocations: 0 / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.01354, allocations: 1.281 kB / 0.5238 GB, free: 14.28 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.002129/0.01567, allocations: 0.8028 MB / 0.5246 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.01572, allocations: 8.719 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.01598, allocations: 56.7 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.01667, allocations: 261.8 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.01675, allocations: 16.36 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.01689, allocations: 24.38 kB / 0.525 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.01876, allocations: 235.7 kB / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01878, allocations: 192 / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.01882, allocations: 384 / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.01883, allocations: 1.844 kB / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.02034, allocations: 124.8 kB / 0.5253 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.02108, allocations: 277.1 kB / 0.5256 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.02315, allocations: 176.3 kB / 0.5257 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.02459, allocations: 115 kB / 0.5259 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.02464, allocations: 7.984 kB / 0.5259 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/0.02656, allocations: 242.7 kB / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 4.038e-06/0.02657, allocations: 5.812 kB / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.005171/0.03174, allocations: 0.5288 MB / 0.5266 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.03183, allocations: 55.41 kB / 0.5267 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.03275, allocations: 417.8 kB / 0.5271 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.0329, allocations: 41.64 kB / 0.5271 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.03308, allocations: 97.44 kB / 0.5272 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.03317, allocations: 43.73 kB / 0.5272 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.03355, allocations: 121.5 kB / 0.5274 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002903/0.03384, allocations: 329 kB / 0.5277 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.0345, allocations: 195.3 kB / 0.5279 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.03522, allocations: 241.3 kB / 0.5281 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.03603, allocations: 272.6 kB / 0.5283 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.03604, allocations: 3.984 kB / 0.5284 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001914/0.03795, allocations: 0.5887 MB / 0.5289 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.03812, allocations: 81.88 kB / 0.529 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.03813, allocations: 4 kB / 0.529 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.03816, allocations: 0 / 0.529 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.03849, allocations: 31.91 kB / 0.529 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.03851, allocations: 7.938 kB / 0.529 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.03958, allocations: 62.69 kB / 0.5291 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.03975, allocations: 59.92 kB / 0.5292 GB, free: 8.527 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.000529/0.04028, allocations: 199.7 kB / 0.5294 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.04046, allocations: 49.31 kB / 0.5294 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.04058, allocations: 39.69 kB / 0.5294 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.04058, allocations: 0 / 0.5294 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.04059, allocations: 0 / 0.5294 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.04061, allocations: 13.2 kB / 0.5295 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.04493, allocations: 0.7148 MB / 0.5302 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.04494, allocations: 0 / 0.5302 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.04501, allocations: 5.25 kB / 0.5302 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.04502, allocations: 0 / 0.5302 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.0451, allocations: 23.91 kB / 0.5302 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.04511, allocations: 1.25 kB / 0.5302 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.04511, allocations: 4 kB / 0.5302 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.04869, allocations: 0.5041 MB / 0.5307 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.04924, allocations: 141.5 kB / 0.5308 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.04937, allocations: 16.88 kB / 0.5308 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009386/0.05031, allocations: 36.88 kB / 0.5309 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.05038, allocations: 7.984 kB / 0.5309 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.05053, allocations: 64.5 kB / 0.5309 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006534/0.05119, allocations: 291.1 kB / 0.5312 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.1e-07/0.05119, allocations: 0.6562 kB / 0.5312 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007773/0.05196, allocations: 70.42 kB / 0.5313 GB, free: 6.316 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.0002947/0.05226, allocations: 117.5 kB / 0.5314 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.05506, allocations: 488.8 kB / 0.5319 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.05506, allocations: 0 / 0.5319 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.05664, allocations: 127.8 kB / 0.532 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.05735, allocations: 54.14 kB / 0.532 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.06027, allocations: 0.5847 MB / 0.5326 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.06062, allocations: 166.8 kB / 0.5328 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.06072, allocations: 15.77 kB / 0.5328 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.06081, allocations: 16.5 kB / 0.5328 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.06081, allocations: 0 / 0.5328 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of Templates: time 0.01664/0.07745, allocations: 5.868 MB / 0.5385 GB, free: 14.92 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.144832257064991]