Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001226/0.001226, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.00128/0.00128, allocations: 169 kB / 23.02 MB, free: 1.551 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.9652/0.9652, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8163/0.8163, allocations: 154.9 MB / 414.8 MB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.933e-05, allocations: 4.688 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001933/0.001952, allocations: 1.557 MB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.002913, allocations: 0.5404 MB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.002967, allocations: 0 / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.003067, allocations: 7.922 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.003174, allocations: 21.03 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.003825, allocations: 325.2 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.004215, allocations: 487.4 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.004252, allocations: 4 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.004585, allocations: 351.6 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.004787, allocations: 130.8 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.004841, allocations: 28 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.00489, allocations: 28.69 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.004981, allocations: 117.5 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.005085, allocations: 135.7 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.005369, allocations: 370.9 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005372, allocations: 0 / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005372, allocations: 0 / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005377, allocations: 0 / 0.5246 GB, free: 13.83 MB / 0.4948 GB 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.0008727/0.00625, allocations: 0.9123 MB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.006282, allocations: 8.031 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.006383, allocations: 64.58 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.006657, allocations: 264.3 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.006691, allocations: 16.36 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.006735, allocations: 24.38 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.007145, allocations: 210.5 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.007154, allocations: 192 / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.007175, allocations: 8.375 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.007182, allocations: 2.188 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.007277, allocations: 63.47 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.007543, allocations: 300.4 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.007724, allocations: 127.7 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.007817, allocations: 67.61 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.007835, allocations: 6.438 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.008023, allocations: 184.4 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.008024, allocations: 0 / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005123/0.008536, allocations: 378 kB / 0.5271 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.008571, allocations: 67.39 kB / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.008813, allocations: 418.7 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.008848, allocations: 42.25 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.00903, allocations: 141.1 kB / 0.5278 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.009065, allocations: 43.72 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.009182, allocations: 131.1 kB / 0.528 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.009287, allocations: 0.4928 MB / 0.5284 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.009484, allocations: 181.2 kB / 0.5286 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.009674, allocations: 241.1 kB / 0.5288 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.009896, allocations: 276.5 kB / 0.5291 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.009899, allocations: 0 / 0.5291 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000521/0.01042, allocations: 0.5624 MB / 0.5297 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.01047, allocations: 79.38 kB / 0.5297 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01048, allocations: 4 kB / 0.5297 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.0105, allocations: 4 kB / 0.5297 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.01062, allocations: 38.03 kB / 0.5298 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.01062, allocations: 3.938 kB / 0.5298 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.01079, allocations: 51.8 kB / 0.5298 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.01085, allocations: 63.98 kB / 0.5299 GB, free: 8.113 MB / 0.4948 GB 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.0001178/0.01097, allocations: 183.4 kB / 0.5301 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.01101, allocations: 45.2 kB / 0.5301 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.01105, allocations: 39.67 kB / 0.5301 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01106, allocations: 4 kB / 0.5301 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01106, allocations: 1.344 kB / 0.5301 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01106, allocations: 3.938 kB / 0.5302 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.0117, allocations: 0.6697 MB / 0.5308 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01171, allocations: 0.8125 kB / 0.5308 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.01173, allocations: 8 kB / 0.5308 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01173, allocations: 2.562 kB / 0.5308 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.01176, allocations: 23.91 kB / 0.5308 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01176, allocations: 0 / 0.5308 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01176, allocations: 0 / 0.5308 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.01239, allocations: 465.6 kB / 0.5313 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.01252, allocations: 125.5 kB / 0.5314 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.01257, allocations: 15.94 kB / 0.5314 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.01271, allocations: 23.97 kB / 0.5314 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.01274, allocations: 9.859 kB / 0.5314 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.01278, allocations: 55.98 kB / 0.5315 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001441/0.01293, allocations: 279 kB / 0.5318 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01293, allocations: 0 / 0.5318 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002259/0.01315, allocations: 67.98 kB / 0.5318 GB, free: 6.066 MB / 0.4948 GB 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 9.402e-05/0.01325, allocations: 119.1 kB / 0.5319 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006111/0.01386, allocations: 432.9 kB / 0.5324 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01386, allocations: 0 / 0.5324 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.01402, allocations: 90.78 kB / 0.5324 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.01433, allocations: 49.62 kB / 0.5325 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/0.01513, allocations: 477.2 kB / 0.5329 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.01518, allocations: 87.81 kB / 0.533 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.01523, allocations: 16.23 kB / 0.533 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.01527, allocations: 16.48 kB / 0.5331 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/0.01527, allocations: 0 / 0.5331 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.007641/0.02291, allocations: 6.482 MB / 0.5394 GB, free: 14.31 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0031498577445745]