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.001006/0.001006, 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.00108/0.00108, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9843/0.9843, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7648/0.7648, allocations: 154.6 MB / 414.9 MB, free: 0.6328 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.493e-06/1.493e-06, allocations: 0 / 0.5203 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.539e-05, allocations: 5.922 kB / 0.5203 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001773/0.001788, allocations: 1.547 MB / 0.5218 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008934/0.002681, allocations: 0.5316 MB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.002745, allocations: 4.938 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.314e-05/0.002838, allocations: 15.8 kB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.002946, allocations: 32.72 kB / 0.5224 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.003537, allocations: 309 kB / 0.5227 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.00389, allocations: 483.4 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.003926, allocations: 7.984 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.004239, allocations: 357.4 kB / 0.5235 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.00442, allocations: 131.7 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.004466, allocations: 24 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.00451, allocations: 28.75 kB / 0.5237 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.004602, allocations: 119.6 kB / 0.5238 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.004711, allocations: 125.1 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.004992, allocations: 374.9 kB / 0.5243 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004993, allocations: 3.938 kB / 0.5243 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004994, allocations: 1.25 kB / 0.5243 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004998, allocations: 7.938 kB / 0.5243 GB, free: 14.52 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.0008172/0.005815, allocations: 0.9048 MB / 0.5251 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.00585, allocations: 8.031 kB / 0.5252 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.005958, allocations: 64.64 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.006206, allocations: 258.8 kB / 0.5255 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.006241, allocations: 20.36 kB / 0.5255 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.006287, allocations: 28.36 kB / 0.5255 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.006635, allocations: 210.5 kB / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.006642, allocations: 4.188 kB / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.006661, allocations: 5.438 kB / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006667, allocations: 384 / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.006765, allocations: 62.5 kB / 0.5258 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.007031, allocations: 304.4 kB / 0.5261 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.007215, allocations: 123.1 kB / 0.5262 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.00731, allocations: 63.5 kB / 0.5262 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.007326, allocations: 4 kB / 0.5263 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.007511, allocations: 187.3 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.11e-07/0.007512, allocations: 2.062 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000514/0.008026, allocations: 385.2 kB / 0.5268 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.008061, allocations: 56.78 kB / 0.5269 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.008316, allocations: 422.7 kB / 0.5273 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.00835, allocations: 41.69 kB / 0.5273 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.008414, allocations: 156 kB / 0.5274 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.008447, allocations: 37 kB / 0.5275 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.008568, allocations: 131.1 kB / 0.5276 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.008671, allocations: 0.4962 MB / 0.5281 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.008859, allocations: 177.5 kB / 0.5283 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.009052, allocations: 245.1 kB / 0.5285 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.009272, allocations: 273.7 kB / 0.5288 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009274, allocations: 0 / 0.5288 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005196/0.009794, allocations: 0.556 MB / 0.5293 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.009841, allocations: 83.38 kB / 0.5294 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009846, allocations: 0.8438 kB / 0.5294 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.009859, allocations: 4 kB / 0.5294 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.009973, allocations: 41.19 kB / 0.5294 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.009981, allocations: 7.938 kB / 0.5294 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.01015, allocations: 45.52 kB / 0.5295 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.01021, allocations: 59.98 kB / 0.5295 GB, free: 8.812 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.0001119/0.01032, allocations: 182.5 kB / 0.5297 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.01037, allocations: 48.33 kB / 0.5298 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.0104, allocations: 35.67 kB / 0.5298 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0104, allocations: 4.938 kB / 0.5298 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01041, allocations: 0 / 0.5298 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01041, allocations: 5.375 kB / 0.5298 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.01103, allocations: 0.6758 MB / 0.5305 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01104, allocations: 0 / 0.5305 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.01106, allocations: 4 kB / 0.5305 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01106, allocations: 2.344 kB / 0.5305 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.01108, allocations: 23.91 kB / 0.5305 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01108, allocations: 4 kB / 0.5305 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01109, allocations: 4 kB / 0.5305 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.01144, allocations: 468.7 kB / 0.5309 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.01157, allocations: 117.6 kB / 0.5311 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.01162, allocations: 16.62 kB / 0.5311 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.01176, allocations: 22.31 kB / 0.5311 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.01178, allocations: 7.984 kB / 0.5311 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.01183, allocations: 63.97 kB / 0.5312 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001448/0.01197, allocations: 267.1 kB / 0.5314 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01197, allocations: 0 / 0.5314 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002224/0.01219, allocations: 67.98 kB / 0.5315 GB, free: 6.773 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 8.778e-05/0.01228, allocations: 113.6 kB / 0.5316 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.01271, allocations: 442 kB / 0.532 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01271, allocations: 0 / 0.532 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.01285, allocations: 84.27 kB / 0.5321 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01309, allocations: 54.23 kB / 0.5321 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.01377, allocations: 475.7 kB / 0.5326 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.01382, allocations: 87.8 kB / 0.5327 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.01385, allocations: 18.95 kB / 0.5327 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.01389, allocations: 17.23 kB / 0.5327 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.01389, allocations: 4 kB / 0.5327 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of Templates: time 0.006348/0.02023, allocations: 5.863 MB / 0.5384 GB, free: 15.62 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.8344095631036907]