Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.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.000939/0.000939, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009907/0.0009907, allocations: 173 kB / 23.02 MB, free: 1.551 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.4 MB, free: 5.656 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.8411/0.8411, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.978e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002035/0.002055, allocations: 1.557 MB / 0.5218 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.00313, allocations: 0.5362 MB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.00321, allocations: 0 / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.003321, allocations: 12.61 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.003434, allocations: 27.84 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.004321, allocations: 316.8 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.004796, allocations: 488.4 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.004844, allocations: 11.97 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.005237, allocations: 358.1 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.005469, allocations: 124.7 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.005534, allocations: 28 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.005588, allocations: 24 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.005715, allocations: 115.7 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.005847, allocations: 131.7 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.006245, allocations: 388.4 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.006248, allocations: 0 / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006249, allocations: 0 / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.00626, allocations: 0 / 0.5243 GB, free: 14.18 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.0009793/0.007239, allocations: 0.8965 MB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.007277, allocations: 12.03 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.007386, allocations: 64.58 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.007651, allocations: 264 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.00769, allocations: 20.34 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.007736, allocations: 28.36 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.008115, allocations: 214.4 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.008125, allocations: 192 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.008146, allocations: 5.156 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.008154, allocations: 384 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.00825, allocations: 61.53 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.00855, allocations: 308.4 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.008747, allocations: 124.2 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.008844, allocations: 66.66 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.008867, allocations: 5.625 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.009073, allocations: 180.7 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.009074, allocations: 0.9688 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005451/0.009619, allocations: 376.9 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.009656, allocations: 63.34 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.009919, allocations: 424.6 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.009959, allocations: 41.69 kB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.01003, allocations: 144.1 kB / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.01007, allocations: 43.72 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.0102, allocations: 135.1 kB / 0.5276 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01031, allocations: 0.4931 MB / 0.5281 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.01051, allocations: 171.3 kB / 0.5283 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.01071, allocations: 254.3 kB / 0.5285 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.01094, allocations: 272.8 kB / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01094, allocations: 0 / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005577/0.0115, allocations: 0.5531 MB / 0.5293 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.01156, allocations: 79.38 kB / 0.5294 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01156, allocations: 4 kB / 0.5294 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01158, allocations: 1.594 kB / 0.5294 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.01171, allocations: 35.91 kB / 0.5294 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.01172, allocations: 7.938 kB / 0.5294 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.01189, allocations: 52.42 kB / 0.5295 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.01194, allocations: 59.98 kB / 0.5295 GB, free: 8.48 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.000142/0.01209, allocations: 189.2 kB / 0.5297 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.01214, allocations: 43.75 kB / 0.5298 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.01218, allocations: 35.69 kB / 0.5298 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01218, allocations: 0 / 0.5298 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01219, allocations: 4 kB / 0.5298 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01219, allocations: 9.016 kB / 0.5298 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.01284, allocations: 0.671 MB / 0.5305 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01285, allocations: 0 / 0.5305 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.01287, allocations: 4 kB / 0.5305 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01288, allocations: 7.984 kB / 0.5305 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.0129, allocations: 19.92 kB / 0.5305 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.0129, allocations: 0.5 kB / 0.5305 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0129, allocations: 0.5 kB / 0.5305 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.01329, allocations: 475.2 kB / 0.5309 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.01342, allocations: 114.3 kB / 0.531 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.01347, allocations: 23.92 kB / 0.5311 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.01361, allocations: 19.64 kB / 0.5311 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.01364, allocations: 7.984 kB / 0.5311 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.01369, allocations: 59.97 kB / 0.5312 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001495/0.01384, allocations: 275 kB / 0.5314 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01384, allocations: 0 / 0.5314 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000243/0.01408, allocations: 63.98 kB / 0.5315 GB, free: 6.441 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.0001126/0.01419, allocations: 124.5 kB / 0.5316 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004248/0.01462, allocations: 430.6 kB / 0.532 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01462, allocations: 0 / 0.532 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01472, allocations: 87.03 kB / 0.5321 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01498, allocations: 53.53 kB / 0.5321 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.01567, allocations: 484.8 kB / 0.5326 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.611e-05/0.01571, allocations: 83.81 kB / 0.5327 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01575, allocations: 16.48 kB / 0.5327 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.01579, allocations: 16.5 kB / 0.5327 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01579, allocations: 0 / 0.5327 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of Templates: time 0.007034/0.02282, allocations: 6.483 MB / 0.539 GB, free: 14.67 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9190917019732296]