Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.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.001057/0.001057, 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.001142/0.001142, allocations: 173.3 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.044/1.044, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8634/0.8634, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.489e-05, allocations: 6.844 kB / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002023/0.002048, allocations: 1.544 MB / 0.5218 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003101, allocations: 0.5347 MB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.003181, allocations: 4 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003302, allocations: 12.73 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.003412, allocations: 28.42 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.004121, allocations: 316.1 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.004528, allocations: 488.8 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.004574, allocations: 11.97 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.004916, allocations: 351.6 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.005125, allocations: 129.9 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.005186, allocations: 27.84 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.00524, allocations: 31.62 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.005358, allocations: 115.7 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.005481, allocations: 131.7 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.005814, allocations: 374.9 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.005817, allocations: 4 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005818, allocations: 0 / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.005823, allocations: 0 / 0.5242 GB, free: 14.2 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.0009453/0.006768, allocations: 0.9027 MB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.006809, allocations: 8.031 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.006924, allocations: 69.2 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.007194, allocations: 259.2 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.007232, allocations: 20.89 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.007281, allocations: 32.36 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.007653, allocations: 207.3 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.007662, allocations: 192 / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.007683, allocations: 4.375 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.007692, allocations: 4.375 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.007787, allocations: 52.81 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.008098, allocations: 309.9 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.008304, allocations: 132.2 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.008402, allocations: 65.31 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.008421, allocations: 0 / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.008638, allocations: 187.2 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.00864, allocations: 1.094 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005412/0.009181, allocations: 384.8 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.009218, allocations: 55.41 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.009485, allocations: 422.7 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.009524, allocations: 41.69 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.009588, allocations: 152.1 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.009622, allocations: 39.72 kB / 0.5275 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.009748, allocations: 143 kB / 0.5276 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.009862, allocations: 0.4884 MB / 0.5281 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.01005, allocations: 175.3 kB / 0.5282 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.01025, allocations: 245.1 kB / 0.5285 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.01049, allocations: 274 kB / 0.5287 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.01049, allocations: 4 kB / 0.5287 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005494/0.01104, allocations: 0.5518 MB / 0.5293 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.0111, allocations: 84.47 kB / 0.5294 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01111, allocations: 0 / 0.5294 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01112, allocations: 5.844 kB / 0.5294 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.01127, allocations: 31.97 kB / 0.5294 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.01129, allocations: 11.88 kB / 0.5294 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.01148, allocations: 49.55 kB / 0.5295 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.01154, allocations: 59.97 kB / 0.5295 GB, free: 8.492 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001364/0.01167, allocations: 188.5 kB / 0.5297 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.01172, allocations: 47.75 kB / 0.5297 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.01176, allocations: 36.12 kB / 0.5298 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01177, allocations: 0.9375 kB / 0.5298 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01177, allocations: 0 / 0.5298 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01178, allocations: 3.938 kB / 0.5298 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.01243, allocations: 0.6768 MB / 0.5304 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01243, allocations: 0.9375 kB / 0.5304 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.01246, allocations: 7.938 kB / 0.5304 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01246, allocations: 3.984 kB / 0.5305 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.01249, allocations: 29.17 kB / 0.5305 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01249, allocations: 4 kB / 0.5305 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01249, allocations: 0 / 0.5305 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.01289, allocations: 465.1 kB / 0.5309 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.01303, allocations: 118.8 kB / 0.531 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.01308, allocations: 15.92 kB / 0.5311 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.01323, allocations: 16.7 kB / 0.5311 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.01327, allocations: 11.98 kB / 0.5311 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.01332, allocations: 62.22 kB / 0.5311 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001838/0.0135, allocations: 271.1 kB / 0.5314 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0135, allocations: 0 / 0.5314 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002443/0.01375, allocations: 67.98 kB / 0.5315 GB, free: 6.445 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001021/0.01385, allocations: 113.2 kB / 0.5316 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.01432, allocations: 435.5 kB / 0.532 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01432, allocations: 1.438 kB / 0.532 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.01444, allocations: 83.69 kB / 0.5321 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.0002663/0.0147, allocations: 55.91 kB / 0.5321 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.01546, allocations: 483 kB / 0.5326 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.01552, allocations: 87.75 kB / 0.5327 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.879e-05/0.01556, allocations: 14.14 kB / 0.5327 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.0156, allocations: 14.25 kB / 0.5327 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/0.0156, allocations: 0 / 0.5327 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of Templates: time 0.007933/0.02353, allocations: 6.589 MB / 0.5391 GB, free: 14.59 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.109223573002964]