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.001067/0.001067, 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.001128/0.001128, allocations: 177.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 1.043/1.043, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7909/0.7909, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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 3.146e-06/3.146e-06, allocations: 0 / 0.5203 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.921e-05, allocations: 4.094 kB / 0.5203 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003301/0.00334, allocations: 1.545 MB / 0.5218 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.004829, allocations: 0.541 MB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004939, allocations: 4 kB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.005048, allocations: 4.688 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.005199, allocations: 27.84 kB / 0.5224 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.006272, allocations: 316.5 kB / 0.5227 GB, free: 160 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000671/0.006943, allocations: 484.1 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.006996, allocations: 11.97 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.007544, allocations: 356.1 kB / 0.5235 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.007756, allocations: 132.6 kB / 0.5236 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.007806, allocations: 24.94 kB / 0.5236 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.32e-05/0.007849, allocations: 28 kB / 0.5237 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.007946, allocations: 119.7 kB / 0.5238 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.008067, allocations: 134.3 kB / 0.5239 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.008416, allocations: 378.9 kB / 0.5243 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.008418, allocations: 0 / 0.5243 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00842, allocations: 0 / 0.5243 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.008425, allocations: 4 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.0008702/0.009295, allocations: 0.8988 MB / 0.5251 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.00933, allocations: 13.41 kB / 0.5251 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.009435, allocations: 56.7 kB / 0.5252 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.009677, allocations: 262.8 kB / 0.5255 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.009712, allocations: 16.92 kB / 0.5255 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.009758, allocations: 28.38 kB / 0.5255 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.0101, allocations: 210.1 kB / 0.5257 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.0101, allocations: 1.375 kB / 0.5257 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.01012, allocations: 4.359 kB / 0.5257 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.01013, allocations: 384 / 0.5257 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.01024, allocations: 60.97 kB / 0.5258 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.01053, allocations: 308.4 kB / 0.5261 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.01072, allocations: 135.5 kB / 0.5262 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.821e-05/0.01082, allocations: 64.16 kB / 0.5262 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.01084, allocations: 8 kB / 0.5263 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.01104, allocations: 183.2 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 7.81e-07/0.01104, allocations: 0 / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005185/0.01156, allocations: 380.8 kB / 0.5268 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.0116, allocations: 63.39 kB / 0.5269 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01185, allocations: 418.7 kB / 0.5273 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.01189, allocations: 46.5 kB / 0.5273 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.01195, allocations: 140.1 kB / 0.5274 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.01198, allocations: 37.58 kB / 0.5275 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.0121, allocations: 131.1 kB / 0.5276 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01222, allocations: 0.4923 MB / 0.5281 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.01242, allocations: 175.3 kB / 0.5282 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01263, allocations: 246 kB / 0.5285 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.01286, allocations: 277.8 kB / 0.5287 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01286, allocations: 0 / 0.5287 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005485/0.01341, allocations: 0.5639 MB / 0.5293 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.01346, allocations: 84.66 kB / 0.5294 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01347, allocations: 0 / 0.5294 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.01348, allocations: 4 kB / 0.5294 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01359, allocations: 31.92 kB / 0.5294 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.0136, allocations: 12.42 kB / 0.5294 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.01378, allocations: 45.36 kB / 0.5295 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.01385, allocations: 63.98 kB / 0.5295 GB, free: 8.824 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.0001551/0.014, allocations: 189.1 kB / 0.5297 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.01406, allocations: 43.77 kB / 0.5297 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.01411, allocations: 36.39 kB / 0.5298 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01412, allocations: 9.953 kB / 0.5298 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01413, allocations: 0 / 0.5298 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01413, allocations: 3.938 kB / 0.5298 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.01487, allocations: 0.6735 MB / 0.5304 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01487, allocations: 2.344 kB / 0.5304 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.0149, allocations: 4 kB / 0.5305 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0149, allocations: 0 / 0.5305 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.01493, allocations: 27.91 kB / 0.5305 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01493, allocations: 4 kB / 0.5305 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01493, allocations: 0 / 0.5305 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.01537, allocations: 455.3 kB / 0.5309 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.01552, allocations: 130.9 kB / 0.531 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.01557, allocations: 11.94 kB / 0.5311 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.01573, allocations: 26.84 kB / 0.5311 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.01577, allocations: 8.859 kB / 0.5311 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.01582, allocations: 67.86 kB / 0.5312 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001848/0.01601, allocations: 272.3 kB / 0.5314 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01601, allocations: 0 / 0.5314 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000257/0.01626, 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 (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.0001463/0.01641, allocations: 113.9 kB / 0.5316 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.01693, allocations: 429.7 kB / 0.532 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01693, allocations: 0 / 0.532 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.01706, allocations: 79.55 kB / 0.5321 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.01738, allocations: 58.92 kB / 0.5321 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.01836, allocations: 482.7 kB / 0.5326 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.829e-05/0.01843, allocations: 89.69 kB / 0.5327 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.01847, allocations: 10.33 kB / 0.5327 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.01852, allocations: 20.48 kB / 0.5327 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/0.01852, allocations: 0 / 0.5327 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of Templates: time 0.009212/0.02773, allocations: 5.975 MB / 0.5385 GB, free: 15.53 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: 3.9883207140956074]