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.0009791/0.0009791, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001182/0.001182, allocations: 177 kB / 23.36 MB, free: 1.129 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.107/1.107, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8163/0.8163, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.312e-06/1.312e-06, allocations: 0 / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.024e-05, allocations: 5.156 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002195/0.002215, allocations: 1.588 MB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.003199, allocations: 0.5495 MB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.003255, allocations: 0.8438 kB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.759e-05/0.003343, allocations: 8.422 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003448, allocations: 26.98 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.004055, allocations: 327.6 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.004463, allocations: 489.4 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.004505, allocations: 7.984 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.005197, allocations: 347.6 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.005436, allocations: 140.3 kB / 483.5 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.005488, allocations: 28 kB / 483.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-05/0.005534, allocations: 28.62 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.005643, allocations: 120.3 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.005753, allocations: 127.7 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.00609, allocations: 383.5 kB / 484.1 MB, free: 2.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.006096, allocations: 4 kB / 484.1 MB, free: 2.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006098, allocations: 0.625 kB / 484.1 MB, free: 2.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.006103, allocations: 0.7188 kB / 484.1 MB, free: 2.824 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.000816/0.006919, allocations: 0.7361 MB / 484.9 MB, free: 2.027 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.006949, allocations: 11.97 kB / 484.9 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.007024, allocations: 48.88 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.00725, allocations: 237.1 kB / 485.2 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.007282, allocations: 21.27 kB / 485.2 MB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.007326, allocations: 32.36 kB / 485.2 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.007654, allocations: 182.6 kB / 485.4 MB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.007662, allocations: 192 / 485.4 MB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007679, allocations: 9.109 kB / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.007684, allocations: 384 / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.007763, allocations: 43.33 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.00792, allocations: 115.2 kB / 485.6 MB, free: 1.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.008067, allocations: 96.39 kB / 485.6 MB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.008139, allocations: 50.44 kB / 485.7 MB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.008156, allocations: 0 / 485.7 MB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.008317, allocations: 148.5 kB / 485.8 MB, free: 1.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.008318, allocations: 0 / 485.8 MB, free: 1.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003356/0.008654, allocations: 210.8 kB / 486 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.008688, allocations: 59.34 kB / 486.1 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.008885, allocations: 335.3 kB / 486.4 MB, free: 436 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.00892, allocations: 41.69 kB / 486.5 MB, free: 388 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.008971, allocations: 89.45 kB / 486.6 MB, free: 292 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.009004, allocations: 42.36 kB / 486.6 MB, free: 252 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.009125, allocations: 117.4 kB / 486.7 MB, free: 128 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.009223, allocations: 330.8 kB / 487 MB, free: 15.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.009379, allocations: 155.3 kB / 487.2 MB, free: 15.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.009533, allocations: 205.3 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.009715, allocations: 246.8 kB / 487.6 MB, free: 15.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009717, allocations: 0 / 487.6 MB, free: 15.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003635/0.01008, allocations: 434.2 kB / 488.1 MB, free: 14.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.01014, allocations: 79.38 kB / 488.1 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01015, allocations: 4 kB / 488.1 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01016, allocations: 4.656 kB / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01029, allocations: 36.5 kB / 488.2 MB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.01029, allocations: 4 kB / 488.2 MB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.01045, allocations: 48.92 kB / 488.2 MB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.01051, allocations: 61.25 kB / 488.3 MB, free: 14.43 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.0001206/0.01063, allocations: 144.5 kB / 488.4 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.01067, allocations: 32.89 kB / 488.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.01071, allocations: 33.16 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01072, allocations: 4 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01072, allocations: 0 / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01072, allocations: 0 / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.01115, allocations: 380.1 kB / 488.9 MB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01116, allocations: 1.375 kB / 488.9 MB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.01118, allocations: 11.98 kB / 488.9 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01119, allocations: 0 / 488.9 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.0112, allocations: 3.984 kB / 488.9 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01121, allocations: 5.031 kB / 488.9 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01121, allocations: 0 / 488.9 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.01143, allocations: 253.3 kB / 489.1 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.01156, allocations: 115.5 kB / 489.3 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.01161, allocations: 9.281 kB / 489.3 MB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.01179, allocations: 37.19 kB / 489.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.01182, allocations: 11.92 kB / 489.3 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.01186, allocations: 47.91 kB / 489.4 MB, free: 13.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.01197, allocations: 137.3 kB / 489.5 MB, free: 13.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01197, allocations: 0 / 489.5 MB, free: 13.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01216, allocations: 69.83 kB / 489.6 MB, free: 13.13 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.0001201/0.01228, allocations: 98.86 kB / 489.7 MB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.0127, allocations: 401.7 kB / 490 MB, free: 12.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.01271, allocations: 4 kB / 490 MB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.0128, allocations: 66.7 kB / 490.1 MB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01299, allocations: 41.17 kB / 490.2 MB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.01384, allocations: 467.3 kB / 490.6 MB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01389, allocations: 92.17 kB / 490.7 MB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01392, allocations: 8.156 kB / 490.7 MB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.0141, allocations: 127.8 kB / 490.8 MB, free: 11.79 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/0.0141, allocations: 0 / 490.8 MB, free: 11.79 MB / 458.7 MB Notification: Performance of Templates: time 0.006463/0.02056, allocations: 5.386 MB / 496.2 MB, free: 6.637 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8356457366608083]