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.001577/0.001577, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001787/0.001787, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.571/1.571, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.208/1.208, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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.393e-06/1.393e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.188e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00269/0.002722, allocations: 1.517 MB / 0.62 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004029, allocations: 0.5293 MB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.004079, allocations: 3.938 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.004184, allocations: 11.86 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.004326, allocations: 33.02 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.005444, allocations: 322.4 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.006109, allocations: 491.4 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.357e-05/0.006173, allocations: 8 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.006718, allocations: 359.6 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.007009, allocations: 127.8 kB / 0.6218 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.007119, allocations: 28 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.007217, allocations: 28 kB / 0.6218 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.007362, allocations: 115.7 kB / 0.6219 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.007564, allocations: 135.7 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.00811, allocations: 462.7 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.008115, allocations: 0 / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008116, allocations: 0 / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.008123, allocations: 0 / 0.6225 GB, free: 0.5547 MB / 0.5294 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.001364/0.009487, allocations: 0.8028 MB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.009532, allocations: 9.469 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.009666, allocations: 56.69 kB / 0.6234 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.01006, allocations: 248.1 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.01012, allocations: 16.36 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.0102, allocations: 28.36 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.0113, allocations: 225.9 kB / 0.6239 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01132, allocations: 192 / 0.6239 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.01135, allocations: 12.36 kB / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.01136, allocations: 384 / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008512/0.01221, allocations: 119.9 kB / 0.624 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.01265, allocations: 285 kB / 0.6243 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.01383, allocations: 186.4 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.01464, allocations: 112.8 kB / 0.6245 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.01468, allocations: 4 kB / 0.6245 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.01577, allocations: 249.6 kB / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.01577, allocations: 0 / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002896/0.01867, allocations: 0.5166 MB / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.01873, allocations: 67.39 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.01925, allocations: 413.9 kB / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.555e-05/0.01933, allocations: 41.69 kB / 0.6258 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.01943, allocations: 93.45 kB / 0.6259 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.01948, allocations: 35.75 kB / 0.6259 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.01971, allocations: 129.5 kB / 0.626 GB, free: 12.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.01988, allocations: 322.8 kB / 0.6263 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.02025, allocations: 207.2 kB / 0.6265 GB, free: 12.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.02066, allocations: 241.3 kB / 0.6268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.0211, allocations: 271.4 kB / 0.627 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02111, allocations: 0 / 0.627 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001065/0.02217, allocations: 0.5626 MB / 0.6276 GB, free: 11.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.02227, allocations: 89.5 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.02228, allocations: 0 / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.02231, allocations: 4 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.0225, allocations: 23.92 kB / 0.6277 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.02251, allocations: 7.938 kB / 0.6277 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.02304, allocations: 67.84 kB / 0.6278 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.02317, allocations: 60.05 kB / 0.6278 GB, free: 10.8 MB / 0.545 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.0003088/0.02348, allocations: 196.7 kB / 0.628 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.02356, allocations: 35.77 kB / 0.628 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.02366, allocations: 43.67 kB / 0.6281 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02366, allocations: 0 / 0.6281 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.02367, allocations: 4 kB / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.02368, allocations: 3.938 kB / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.02644, allocations: 0.7155 MB / 0.6288 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.02645, allocations: 4 kB / 0.6288 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.02649, allocations: 7.984 kB / 0.6288 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.02649, allocations: 0 / 0.6288 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.02654, allocations: 23.92 kB / 0.6288 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.02654, allocations: 7.984 kB / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.02654, allocations: 0 / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.0285, allocations: 0.4918 MB / 0.6293 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.02877, allocations: 141.4 kB / 0.6294 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.02885, allocations: 11.94 kB / 0.6295 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.02936, allocations: 43.95 kB / 0.6295 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.0294, allocations: 11.98 kB / 0.6295 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.02949, allocations: 51.98 kB / 0.6296 GB, free: 8.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003613/0.02985, allocations: 299 kB / 0.6298 GB, free: 8.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02985, allocations: 0 / 0.6298 GB, free: 8.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004298/0.03028, allocations: 71.98 kB / 0.6299 GB, free: 8.594 MB / 0.545 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.0002161/0.03049, allocations: 111.2 kB / 0.63 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.03209, allocations: 493.9 kB / 0.6305 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.03209, allocations: 0 / 0.6305 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008712/0.03296, allocations: 126.6 kB / 0.6306 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.03336, allocations: 21.64 kB / 0.6306 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03499, allocations: 0.5894 MB / 0.6312 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.03518, allocations: 162.8 kB / 0.6314 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.599e-05/0.03525, allocations: 13.14 kB / 0.6314 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.0353, allocations: 16.5 kB / 0.6314 GB, free: 6.992 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.0353, allocations: 4 kB / 0.6314 GB, free: 6.988 MB / 0.545 GB Notification: Performance of Templates: time 0.01122/0.04652, allocations: 5.847 MB / 0.6371 GB, free: 1.117 MB / 0.545 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: 6.102754030376673] Failed to read output from testmodel.py, exit status != 0: 0.05545809119939804 0.08776006600000001 0.073840949 Calling exit ...