Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0008307/0.0008307, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001881, 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.0009813/0.0009813, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002254, 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 0.9735/0.9735, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7616/0.7616, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2637/1.025, allocations: 49.14 MB / 448.4 MB, free: 6.027 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-master/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.781 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.431e-05, allocations: 3.562 kB / 449.7 MB, free: 4.777 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002492/0.002516, allocations: 1.606 MB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008953/0.003412, allocations: 0.5598 MB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.003486, allocations: 0 / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.909e-05/0.003555, allocations: 9.078 kB / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003668, allocations: 30.45 kB / 451.9 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.004298, allocations: 336.3 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.004772, allocations: 0.4902 MB / 452.7 MB, free: 1.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.004807, allocations: 4.734 kB / 452.7 MB, free: 1.816 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.005149, allocations: 372.5 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.005395, allocations: 135.9 kB / 453.2 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.005444, allocations: 28 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.005487, allocations: 27.94 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.005576, allocations: 100.5 kB / 453.3 MB, free: 1.172 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.005674, allocations: 105.7 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.005962, allocations: 335 kB / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.729e-05/0.005979, allocations: 0 / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00598, allocations: 0 / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.006, allocations: 3.938 kB / 453.8 MB, free: 0.7383 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.0009749/0.006974, allocations: 0.8161 MB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.007004, allocations: 8.031 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.00708, allocations: 49.94 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.0073, allocations: 236 kB / 454.9 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.007334, allocations: 21.08 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.007374, allocations: 24.36 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.007685, allocations: 182.8 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.007694, allocations: 192 / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.007709, allocations: 1.875 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.007714, allocations: 8.125 kB / 455.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.007784, allocations: 36.77 kB / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.007941, allocations: 116.9 kB / 455.3 MB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.008088, allocations: 93.78 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.008154, allocations: 43.06 kB / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.008175, allocations: 0 / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.008339, allocations: 148.8 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.008341, allocations: 1.406 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004434/0.008785, allocations: 206.1 kB / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.00882, allocations: 59.39 kB / 455.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.008996, allocations: 327.3 kB / 456.1 MB, free: 14.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.009031, allocations: 42.22 kB / 456.2 MB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.009074, allocations: 101.4 kB / 456.3 MB, free: 14.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.009106, allocations: 40.58 kB / 456.3 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.009205, allocations: 117.3 kB / 456.4 MB, free: 13.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.009273, allocations: 323.4 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.009415, allocations: 154.3 kB / 456.9 MB, free: 13.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.009554, allocations: 210.6 kB / 457.1 MB, free: 13.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.009721, allocations: 241 kB / 457.3 MB, free: 12.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009723, allocations: 4.875 kB / 457.3 MB, free: 12.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003194/0.01004, allocations: 430.2 kB / 457.7 MB, free: 12.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.0101, allocations: 84.56 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01011, allocations: 4 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.01012, allocations: 1.156 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01024, allocations: 47.91 kB / 457.9 MB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.01025, allocations: 3.984 kB / 457.9 MB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.0104, allocations: 52.48 kB / 457.9 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.01045, allocations: 44.64 kB / 458 MB, free: 12.29 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 0.0001136/0.01056, allocations: 144.1 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.01059, allocations: 24.81 kB / 458.1 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.01063, allocations: 35.69 kB / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01064, allocations: 0.75 kB / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01064, allocations: 0 / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01064, allocations: 4.594 kB / 458.2 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.01104, allocations: 380.9 kB / 458.5 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01105, allocations: 3.984 kB / 458.6 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.01107, allocations: 4 kB / 458.6 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.0112, allocations: 116.4 kB / 458.7 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.0112, allocations: 0 / 458.7 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.01122, allocations: 12.77 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01122, allocations: 3.938 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.01122, allocations: 11.59 kB / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.01144, allocations: 238.5 kB / 458.9 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.01148, allocations: 8 kB / 458.9 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.01165, allocations: 33.5 kB / 459 MB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.01167, allocations: 15.86 kB / 459 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.01171, allocations: 54.03 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.01179, allocations: 132.7 kB / 459.2 MB, free: 11.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01179, allocations: 0 / 459.2 MB, free: 11.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.01198, allocations: 67.98 kB / 459.2 MB, free: 11 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 0.0003585/0.01234, allocations: 98.34 kB / 459.3 MB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.01273, allocations: 401.8 kB / 459.7 MB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.01274, allocations: 4 kB / 459.7 MB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.01281, allocations: 61.83 kB / 459.8 MB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.01302, allocations: 75.56 kB / 459.9 MB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.01406, allocations: 460 kB / 460.3 MB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.0141, allocations: 90.11 kB / 460.4 MB, free: 9.766 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.01414, allocations: 15.48 kB / 460.4 MB, free: 9.754 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.0143, allocations: 118.6 kB / 460.5 MB, free: 9.645 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0143, allocations: 0.6875 kB / 460.5 MB, free: 9.645 MB / 442.7 MB Notification: Performance of Templates: time 0.006069/0.02037, allocations: 5.346 MB / 465.9 MB, free: 4.578 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6386887468397617]