Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.0008438/0.0008438, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002147, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008255/0.0008255, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000963/0.001788, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.046/1.046, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09399/1.14, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.7866/0.7866, allocations: 154.6 MB / 398.5 MB, free: 500 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2772/1.064, allocations: 49.02 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 448.8 MB, free: 5.441 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.239e-05, allocations: 4.141 kB / 448.8 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002791/0.002814, allocations: 1.61 MB / 450.5 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004054, allocations: 0.5527 MB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.004121, allocations: 4 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.004176, allocations: 7.875 kB / 451 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.004279, allocations: 29.61 kB / 451 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.005025, allocations: 325 kB / 451.4 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.005657, allocations: 0.4914 MB / 451.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.005701, allocations: 4.75 kB / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.006206, allocations: 369.7 kB / 452.2 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.006481, allocations: 135.7 kB / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.006547, allocations: 28.69 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.006613, allocations: 28 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.006724, allocations: 100.8 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.006861, allocations: 107.7 kB / 452.6 MB, free: 1.742 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.007234, allocations: 334.9 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.007251, allocations: 0.9062 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007252, allocations: 0 / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.007271, allocations: 0.625 kB / 452.9 MB, free: 1.414 MB / 426.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.001125/0.008396, allocations: 0.8203 MB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.008425, allocations: 8.031 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.0085, allocations: 48.88 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.008712, allocations: 232.7 kB / 454 MB, free: 232 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.008744, allocations: 20.36 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.008787, allocations: 33.45 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.009095, allocations: 179.7 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.009101, allocations: 0.875 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.009133, allocations: 9.266 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.009137, allocations: 1 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.009215, allocations: 40.39 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.009364, allocations: 109.8 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.009517, allocations: 96.05 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.009586, allocations: 41.31 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.009606, allocations: 4 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.00977, allocations: 162.8 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.009772, allocations: 0.875 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003038/0.01008, allocations: 199.4 kB / 454.9 MB, free: 15.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.01011, allocations: 63.34 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.01029, allocations: 327.3 kB / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.01033, allocations: 42.78 kB / 455.3 MB, free: 14.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.01037, allocations: 97.42 kB / 455.4 MB, free: 14.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.0104, allocations: 36.61 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.0105, allocations: 113.4 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.01058, allocations: 334.7 kB / 455.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.01072, allocations: 154.2 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.01086, allocations: 203.3 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.01103, allocations: 246.2 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01104, allocations: 0 / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000318/0.01136, allocations: 435.1 kB / 456.9 MB, free: 13.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.01141, allocations: 80.78 kB / 457 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.01141, allocations: 0 / 457 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.01141, allocations: 4 kB / 457 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01153, allocations: 42.77 kB / 457.1 MB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01153, allocations: 4.781 kB / 457.1 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.01168, allocations: 48.44 kB / 457.1 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.01172, allocations: 55.92 kB / 457.2 MB, free: 12.95 MB / 442.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 9.749e-05/0.01182, allocations: 137.2 kB / 457.3 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01186, allocations: 27.97 kB / 457.3 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.01189, allocations: 31.69 kB / 457.3 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01189, allocations: 4 kB / 457.4 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01189, allocations: 0 / 457.4 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0119, allocations: 4.516 kB / 457.4 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.01229, allocations: 379 kB / 457.7 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01229, allocations: 3.938 kB / 457.7 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.01231, allocations: 7.984 kB / 457.7 MB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.01243, allocations: 112.7 kB / 457.8 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01243, allocations: 0 / 457.8 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.01245, allocations: 15.97 kB / 457.9 MB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.01246, allocations: 8.562 kB / 457.9 MB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01246, allocations: 0 / 457.9 MB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.01266, allocations: 246.3 kB / 458.1 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.0127, allocations: 11.98 kB / 458.1 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.01286, allocations: 28.66 kB / 458.2 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.01288, allocations: 21.3 kB / 458.2 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.01292, allocations: 39.98 kB / 458.2 MB, free: 11.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.013, allocations: 140.7 kB / 458.4 MB, free: 11.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.013, allocations: 0 / 458.4 MB, free: 11.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01318, allocations: 68.86 kB / 458.4 MB, free: 11.67 MB / 442.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.815e-05/0.01327, allocations: 98.12 kB / 458.5 MB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.01362, allocations: 395 kB / 458.9 MB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.01363, allocations: 9.25 kB / 458.9 MB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.01371, allocations: 65.28 kB / 459 MB, free: 11.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.0139, allocations: 66.09 kB / 459 MB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.0148, allocations: 475.4 kB / 459.5 MB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.01484, allocations: 83.81 kB / 459.6 MB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.01488, allocations: 15.48 kB / 459.6 MB, free: 10.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.01504, allocations: 114.3 kB / 459.7 MB, free: 10.31 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01504, allocations: 1.094 kB / 459.7 MB, free: 10.31 MB / 442.7 MB Notification: Performance of Templates: time 0.005894/0.02094, allocations: 5.348 MB / 465.1 MB, free: 5.234 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5683294609189034]