Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.00136/0.00136, 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.001203/0.001203, allocations: 177 kB / 23.35 MB, free: 1.137 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.9982/0.9982, allocations: 177.2 MB / 203.8 MB, free: 5.434 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.7783/0.7783, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 4 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.576e-06/1.082e-05, allocations: 2.312 kB / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001609/0.00162, allocations: 1.552 MB / 481.5 MB, free: 5.391 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.002498, allocations: 0.5457 MB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.002548, allocations: 0 / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.456e-05/0.002632, allocations: 11.86 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.002729, allocations: 25.28 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.003252, allocations: 322.7 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.003595, allocations: 489.6 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.003629, allocations: 11.98 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.003937, allocations: 356.6 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.004122, allocations: 139.8 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.004168, allocations: 28 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.004204, allocations: 24 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.863e-05/0.004293, allocations: 120.8 kB / 483.6 MB, free: 3.387 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.004389, allocations: 127.7 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.004646, allocations: 386.8 kB / 484.1 MB, free: 2.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004648, allocations: 1.938 kB / 484.1 MB, free: 2.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004649, allocations: 0 / 484.1 MB, free: 2.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.004652, allocations: 0 / 484.1 MB, free: 2.883 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.0006916/0.005343, allocations: 0.7391 MB / 484.8 MB, free: 2.082 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.005372, allocations: 12.03 kB / 484.8 MB, free: 2.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.005444, allocations: 44.88 kB / 484.9 MB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.005657, allocations: 236.5 kB / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.005689, allocations: 21.02 kB / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.005735, allocations: 24.38 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.006031, allocations: 188.2 kB / 485.3 MB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.006037, allocations: 192 / 485.3 MB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.006054, allocations: 4.375 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006059, allocations: 384 / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.00613, allocations: 46.16 kB / 485.4 MB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.006277, allocations: 114.4 kB / 485.5 MB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.006415, allocations: 94.11 kB / 485.6 MB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.006486, allocations: 42.53 kB / 485.6 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.0065, allocations: 4 kB / 485.6 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.006647, allocations: 159.9 kB / 485.8 MB, free: 1.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.006648, allocations: 4.562 kB / 485.8 MB, free: 1.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003013/0.006949, allocations: 202.5 kB / 486 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.006983, allocations: 67.33 kB / 486 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.007151, allocations: 336 kB / 486.4 MB, free: 488 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.007185, allocations: 37.7 kB / 486.4 MB, free: 444 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.007227, allocations: 97.95 kB / 486.5 MB, free: 340 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.007254, allocations: 36.59 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.007355, allocations: 113.4 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.007436, allocations: 336.2 kB / 487 MB, free: 15.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.007569, allocations: 151.3 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.007708, allocations: 201.3 kB / 487.3 MB, free: 15.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.007882, allocations: 249.6 kB / 487.6 MB, free: 15.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007884, allocations: 1.25 kB / 487.6 MB, free: 15.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003235/0.008208, allocations: 429 kB / 488 MB, free: 14.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.008256, allocations: 81.22 kB / 488.1 MB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.008263, allocations: 7.984 kB / 488.1 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.008273, allocations: 0 / 488.1 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.008374, allocations: 31.92 kB / 488.1 MB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.008379, allocations: 7.984 kB / 488.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.008534, allocations: 49.77 kB / 488.2 MB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.008584, allocations: 61.08 kB / 488.2 MB, free: 14.49 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 (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.0001018/0.008686, allocations: 140.3 kB / 488.3 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.008723, allocations: 31.97 kB / 488.4 MB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.008759, allocations: 29.42 kB / 488.4 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008761, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008763, allocations: 0.5 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008766, allocations: 0 / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.009158, allocations: 385.3 kB / 488.8 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009159, allocations: 0 / 488.8 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.009177, allocations: 7.984 kB / 488.8 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009178, allocations: 0 / 488.8 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.009194, allocations: 8.484 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009196, allocations: 4 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.009196, allocations: 0.9375 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.009395, allocations: 245.1 kB / 489.1 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.009523, allocations: 119.9 kB / 489.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.009564, allocations: 8.969 kB / 489.2 MB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.009742, allocations: 33.41 kB / 489.2 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.009764, allocations: 15.92 kB / 489.2 MB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.009802, allocations: 47.97 kB / 489.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.835e-05/0.00989, allocations: 141.2 kB / 489.4 MB, free: 13.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00989, allocations: 0.875 kB / 489.4 MB, free: 13.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.01008, allocations: 67.98 kB / 489.5 MB, free: 13.19 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 (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.636e-05/0.01016, allocations: 94.28 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.01053, allocations: 408.5 kB / 490 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.01053, allocations: 4 kB / 490 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.01061, allocations: 69.56 kB / 490 MB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01079, allocations: 34.16 kB / 490.1 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.01134, allocations: 478.1 kB / 490.5 MB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.01139, allocations: 83.81 kB / 490.6 MB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.01142, allocations: 15.58 kB / 490.6 MB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.01158, allocations: 122.4 kB / 490.8 MB, free: 11.84 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01158, allocations: 1.344 kB / 490.8 MB, free: 11.84 MB / 458.7 MB Notification: Performance of Templates: time 0.005825/0.0174, allocations: 5.292 MB / 496 MB, free: 6.801 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7716583339497447]