Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.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.0009652/0.0009652, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009945/0.0009945, allocations: 173 kB / 23.5 MB, free: 1.055 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.795/0.795, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.875e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002485/0.002514, allocations: 1.548 MB / 0.5218 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003722, allocations: 0.5358 MB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.003793, allocations: 0.6562 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.003894, allocations: 7.922 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.004017, allocations: 28.95 kB / 0.5224 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.004804, allocations: 319 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.005342, allocations: 483.4 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.005383, allocations: 8.766 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.005839, allocations: 363.5 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.006102, allocations: 130 kB / 0.5236 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.006169, allocations: 28 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.006223, allocations: 26.56 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.006343, allocations: 111.7 kB / 0.5238 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.006491, allocations: 131.7 kB / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.006891, allocations: 382.9 kB / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006893, allocations: 0 / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006893, allocations: 0 / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5e-06/0.006898, allocations: 0 / 0.5243 GB, free: 14.51 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.0008867/0.007785, allocations: 0.9046 MB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.00782, allocations: 12.03 kB / 0.5252 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.007932, allocations: 60.64 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.008183, allocations: 262.8 kB / 0.5255 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.00822, allocations: 17.33 kB / 0.5255 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.008267, allocations: 28.36 kB / 0.5255 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.008631, allocations: 210.5 kB / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.008639, allocations: 192 / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.008659, allocations: 2 kB / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.008667, allocations: 8.312 kB / 0.5257 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.008766, allocations: 59.88 kB / 0.5258 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.009049, allocations: 307.2 kB / 0.5261 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.009245, allocations: 132.5 kB / 0.5262 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.009344, allocations: 63.02 kB / 0.5263 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.009365, allocations: 7.984 kB / 0.5263 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.00956, allocations: 182.5 kB / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.009561, allocations: 0 / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005326/0.01009, allocations: 382.4 kB / 0.5268 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.01024, allocations: 59.38 kB / 0.5269 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.01055, allocations: 422.7 kB / 0.5273 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.01059, allocations: 41.69 kB / 0.5273 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.01065, allocations: 148.1 kB / 0.5274 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.01069, allocations: 43.72 kB / 0.5275 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01082, allocations: 131.1 kB / 0.5276 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01093, allocations: 0.4923 MB / 0.5281 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.01113, allocations: 175.3 kB / 0.5283 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.01134, allocations: 249 kB / 0.5285 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.01156, allocations: 269.9 kB / 0.5287 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01156, allocations: 3.938 kB / 0.5288 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005741/0.01214, allocations: 0.558 MB / 0.5293 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.01221, allocations: 79.38 kB / 0.5294 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.01222, allocations: 4.75 kB / 0.5294 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01224, allocations: 0 / 0.5294 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.0124, allocations: 40.44 kB / 0.5294 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01242, allocations: 12.86 kB / 0.5294 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.01259, allocations: 49.11 kB / 0.5295 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.01264, allocations: 55.98 kB / 0.5295 GB, free: 8.801 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.0001151/0.01276, allocations: 188.9 kB / 0.5297 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.01282, allocations: 43.75 kB / 0.5298 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.01286, allocations: 35.69 kB / 0.5298 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01286, allocations: 0 / 0.5298 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01286, allocations: 0 / 0.5298 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01287, allocations: 7.938 kB / 0.5298 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.01355, allocations: 0.6728 MB / 0.5304 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01355, allocations: 0 / 0.5304 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.01358, allocations: 5.062 kB / 0.5305 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01358, allocations: 4 kB / 0.5305 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.0136, allocations: 23.91 kB / 0.5305 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01361, allocations: 0.9062 kB / 0.5305 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01361, allocations: 0 / 0.5305 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01399, allocations: 468.9 kB / 0.5309 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.01412, allocations: 118 kB / 0.531 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.01416, allocations: 25.8 kB / 0.5311 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.01431, allocations: 15.98 kB / 0.5311 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.01434, allocations: 7.984 kB / 0.5311 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.01438, allocations: 67.91 kB / 0.5312 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001484/0.01453, allocations: 273.1 kB / 0.5314 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01453, allocations: 0 / 0.5314 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002224/0.01475, allocations: 63.98 kB / 0.5315 GB, free: 6.762 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.0001165/0.01487, allocations: 122 kB / 0.5316 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.01546, allocations: 442.3 kB / 0.532 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01547, allocations: 0 / 0.532 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.01561, allocations: 76.5 kB / 0.5321 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01589, allocations: 52.36 kB / 0.5321 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.01657, allocations: 482.8 kB / 0.5326 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.01662, allocations: 83.81 kB / 0.5327 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.01666, allocations: 10.88 kB / 0.5327 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.0167, allocations: 22.92 kB / 0.5327 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.0167, allocations: 0 / 0.5327 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of Templates: time 0.008421/0.02512, allocations: 5.861 MB / 0.5384 GB, free: 15.62 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.972763855010271]