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.0009465/0.0009465, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009687/0.0009687, allocations: 177 kB / 23.36 MB, free: 1.133 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7796/0.7796, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.303e-06/1.303e-06, allocations: 0 / 479.9 MB, free: 6.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.004e-05, allocations: 4.703 kB / 479.9 MB, free: 6.992 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002317/0.002337, allocations: 1.558 MB / 481.5 MB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009586/0.003295, allocations: 0.5408 MB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.003352, allocations: 0 / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.003455, allocations: 12.42 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003568, allocations: 29.61 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.004259, allocations: 318.7 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.004684, allocations: 491.4 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.004718, allocations: 4.625 kB / 482.9 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.005051, allocations: 363.6 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.005242, allocations: 127.1 kB / 483.4 MB, free: 3.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.00529, allocations: 29.5 kB / 483.4 MB, free: 3.605 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.005336, allocations: 28 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.005429, allocations: 127.6 kB / 483.5 MB, free: 3.453 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.005531, allocations: 127.7 kB / 483.7 MB, free: 3.328 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.005806, allocations: 377 kB / 484 MB, free: 2.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.005808, allocations: 0 / 484 MB, free: 2.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005809, allocations: 0 / 484 MB, free: 2.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005812, allocations: 7.875 kB / 484 MB, free: 2.953 MB / 442.7 MB 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.0007015/0.006514, allocations: 0.7389 MB / 484.8 MB, free: 2.152 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.006543, allocations: 8.031 kB / 484.8 MB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.006624, allocations: 57.75 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006844, allocations: 232 kB / 485.1 MB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.006874, allocations: 21.27 kB / 485.1 MB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.006923, allocations: 24.38 kB / 485.1 MB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.007242, allocations: 191.6 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.00725, allocations: 192 / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.007266, allocations: 1 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.007273, allocations: 4.375 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.007348, allocations: 45.78 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.00752, allocations: 114.4 kB / 485.5 MB, free: 1.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.00768, allocations: 94.78 kB / 485.6 MB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.007753, allocations: 45.28 kB / 485.6 MB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.007768, allocations: 2.031 kB / 485.6 MB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.007931, allocations: 152.2 kB / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.007932, allocations: 0 / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003241/0.008256, allocations: 206 kB / 485.9 MB, free: 0.957 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.008289, allocations: 63.39 kB / 486 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.008466, allocations: 327.3 kB / 486.3 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.008503, allocations: 38.67 kB / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.008549, allocations: 101.4 kB / 486.5 MB, free: 420 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.008579, allocations: 40.94 kB / 486.5 MB, free: 380 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.008682, allocations: 117.3 kB / 486.6 MB, free: 256 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.008764, allocations: 330.8 kB / 486.9 MB, free: 15.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.008908, allocations: 152.2 kB / 487.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.009292, allocations: 209.3 kB / 487.3 MB, free: 15.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.009461, allocations: 243.7 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.009465, allocations: 3.938 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003308/0.009796, allocations: 429.4 kB / 488 MB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.009849, allocations: 87.36 kB / 488 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.009854, allocations: 0 / 488 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.009866, allocations: 4 kB / 488 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.009971, allocations: 36.55 kB / 488.1 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009976, allocations: 5.859 kB / 488.1 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.01013, allocations: 39.94 kB / 488.1 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.01018, allocations: 55.91 kB / 488.2 MB, free: 14.57 MB / 458.7 MB 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.000107/0.01029, allocations: 151.2 kB / 488.3 MB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.01032, allocations: 27.91 kB / 488.4 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.01036, allocations: 35.69 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01037, allocations: 5.062 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01037, allocations: 0 / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01037, allocations: 7.984 kB / 488.4 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.01079, allocations: 379.3 kB / 488.8 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01079, allocations: 0 / 488.8 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.01081, allocations: 11.38 kB / 488.8 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01081, allocations: 0 / 488.8 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.01083, allocations: 13.05 kB / 488.8 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01083, allocations: 0 / 488.8 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01083, allocations: 3.984 kB / 488.8 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01104, allocations: 247.4 kB / 489 MB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.01118, allocations: 111.5 kB / 489.2 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.01122, allocations: 12 kB / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.01139, allocations: 35.09 kB / 489.2 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.01141, allocations: 12.83 kB / 489.2 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.01145, allocations: 51.97 kB / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.174e-05/0.01154, allocations: 132.7 kB / 489.4 MB, free: 13.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 1.812 kB / 489.4 MB, free: 13.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.01178, allocations: 67.98 kB / 489.5 MB, free: 13.26 MB / 458.7 MB 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.0001355/0.01191, allocations: 94.41 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005297/0.01244, allocations: 405.6 kB / 489.9 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01245, allocations: 5.344 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.01254, allocations: 69.44 kB / 490 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01274, allocations: 43.81 kB / 490.1 MB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.01346, allocations: 466.2 kB / 490.5 MB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.01352, allocations: 83.81 kB / 490.6 MB, free: 12.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.01357, allocations: 20.73 kB / 490.6 MB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.01375, allocations: 121.1 kB / 490.7 MB, free: 11.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01375, allocations: 1.344 kB / 490.7 MB, free: 11.92 MB / 458.7 MB Notification: Performance of Templates: time 0.006323/0.02007, allocations: 5.386 MB / 496.1 MB, free: 6.781 MB / 458.7 MB " [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.712910777889192]