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.001008/0.001008, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001066/0.001066, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8768/0.8768, allocations: 177.1 MB / 203.5 MB, free: 5.707 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-531:190: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-531:198: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.6818/0.6818, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 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.843e-06/1.843e-06, allocations: 0 / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.442e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002333/0.002357, allocations: 1.505 MB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003578, allocations: 0.5382 MB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.003652, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.003752, allocations: 11.86 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.003873, allocations: 31.58 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.004734, allocations: 328.3 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.005318, allocations: 487.4 kB / 0.6221 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.00537, allocations: 7.984 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.005839, allocations: 351.6 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.006113, allocations: 123.8 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.006178, allocations: 28 kB / 0.6226 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.006235, allocations: 24 kB / 0.6226 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.006362, allocations: 123.6 kB / 0.6227 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.006499, allocations: 131.7 kB / 0.6228 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.006966, allocations: 466.8 kB / 0.6233 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.006969, allocations: 0 / 0.6233 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.193e-06/0.00697, allocations: 3.938 kB / 0.6233 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.006978, allocations: 0 / 0.6233 GB, free: 9.141 MB / 0.5886 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.00112/0.008098, allocations: 0.7912 MB / 0.624 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.00814, allocations: 9.469 kB / 0.6241 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.00826, allocations: 56.69 kB / 0.6241 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.008552, allocations: 255.9 kB / 0.6244 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.008589, allocations: 16.36 kB / 0.6244 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.008635, allocations: 36.36 kB / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.009165, allocations: 226 kB / 0.6246 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.009173, allocations: 192 / 0.6246 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.009194, allocations: 12.34 kB / 0.6246 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.0092, allocations: 384 / 0.6246 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.009556, allocations: 115.9 kB / 0.6247 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.009812, allocations: 281.1 kB / 0.625 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.01031, allocations: 186.4 kB / 0.6252 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.01065, allocations: 116.8 kB / 0.6253 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.01067, allocations: 0 / 0.6253 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.01113, allocations: 239.1 kB / 0.6255 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.01113, allocations: 3.938 kB / 0.6255 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001254/0.01239, allocations: 0.5244 MB / 0.626 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.01243, allocations: 63.39 kB / 0.6261 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.01269, allocations: 409.9 kB / 0.6265 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.01273, allocations: 45.69 kB / 0.6265 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.01278, allocations: 97.39 kB / 0.6266 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.01281, allocations: 39.75 kB / 0.6267 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.01293, allocations: 129.5 kB / 0.6268 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.01301, allocations: 322.8 kB / 0.6271 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.01321, allocations: 191.3 kB / 0.6273 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.01342, allocations: 245.3 kB / 0.6275 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.01366, allocations: 283.8 kB / 0.6278 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01366, allocations: 0 / 0.6278 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000525/0.01419, allocations: 0.5547 MB / 0.6283 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.01425, allocations: 79.38 kB / 0.6284 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.01425, allocations: 4 kB / 0.6284 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01427, allocations: 4 kB / 0.6284 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01437, allocations: 24.11 kB / 0.6284 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.01438, allocations: 15.92 kB / 0.6284 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.01461, allocations: 59.91 kB / 0.6285 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.01467, allocations: 59.98 kB / 0.6286 GB, free: 3.395 MB / 0.5886 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.0001521/0.01482, allocations: 196.6 kB / 0.6287 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.01486, allocations: 39.77 kB / 0.6288 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.0149, allocations: 47.67 kB / 0.6288 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01491, allocations: 0 / 0.6288 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01491, allocations: 0 / 0.6288 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01492, allocations: 3.938 kB / 0.6288 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.01607, allocations: 0.7154 MB / 0.6295 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01607, allocations: 4 kB / 0.6295 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.01609, allocations: 7.984 kB / 0.6295 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01609, allocations: 0 / 0.6295 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.01612, allocations: 23.91 kB / 0.6296 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01612, allocations: 0 / 0.6296 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01612, allocations: 0 / 0.6296 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.01697, allocations: 0.5034 MB / 0.6301 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.01714, allocations: 137.5 kB / 0.6302 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.01719, allocations: 15.94 kB / 0.6302 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.0174, allocations: 35.95 kB / 0.6302 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.01743, allocations: 7.984 kB / 0.6302 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.01748, allocations: 63.97 kB / 0.6303 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001993/0.01768, allocations: 295.1 kB / 0.6306 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01768, allocations: 0 / 0.6306 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002249/0.0179, allocations: 71.94 kB / 0.6307 GB, free: 1.184 MB / 0.5886 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 0.0001004/0.018, allocations: 115.2 kB / 0.6308 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007109/0.01871, allocations: 484 kB / 0.6312 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01871, allocations: 384 / 0.6312 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.01907, allocations: 131.8 kB / 0.6314 GB, free: 436 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01931, allocations: 27.53 kB / 0.6314 GB, free: 412 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.02022, allocations: 0.599 MB / 0.632 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.02033, allocations: 173.6 kB / 0.6321 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.02037, allocations: 28.48 kB / 0.6322 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.02037, allocations: 0 / 0.6322 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.004232/0.0246, allocations: 3.693 MB / 0.6358 GB, free: 11.82 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.308819768950343] Failed to read output from testmodel.py, exit status != 0: 0.03051660116761923 0.037624082 0.02898937 Calling exit ...