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.001259/0.001259, allocations: 81 kB / 19.18 MB, free: 2.52 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.001446/0.001446, allocations: 162.8 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.246/1.246, allocations: 154.5 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.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.323e-06/1.323e-06, allocations: 0 / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.551e-05, allocations: 6.797 kB / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002825/0.00285, allocations: 1.515 MB / 0.62 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.00423, allocations: 0.5303 MB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.004279, allocations: 0 / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.004401, allocations: 11.86 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.004545, allocations: 31.64 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009054/0.005451, allocations: 330.5 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.006056, allocations: 487.4 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.006106, allocations: 4 kB / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.006647, allocations: 363.6 kB / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.00695, allocations: 123.8 kB / 0.6218 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.007054, allocations: 32 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.943e-05/0.007153, allocations: 28 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.007295, allocations: 115.7 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.007484, allocations: 127.7 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.008116, allocations: 466.7 kB / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.00812, allocations: 0 / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.008121, allocations: 0 / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.008133, allocations: 0 / 0.6225 GB, free: 0.5508 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.00139/0.009523, allocations: 0.8027 MB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.00956, allocations: 13.47 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.00969, allocations: 56.7 kB / 0.6234 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.01008, allocations: 252.1 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.01013, allocations: 16.36 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.01021, allocations: 28.38 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.01129, allocations: 226 kB / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.0113, allocations: 192 / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.01133, allocations: 4.375 kB / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.01134, allocations: 8.312 kB / 0.6239 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.01219, allocations: 123.8 kB / 0.624 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.01265, allocations: 277.1 kB / 0.6243 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.01383, allocations: 182.5 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.01468, allocations: 116.8 kB / 0.6245 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.01471, allocations: 0 / 0.6245 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.01588, allocations: 250.1 kB / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.01588, allocations: 0 / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.003098/0.01898, allocations: 0.5206 MB / 0.6253 GB, free: 13.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.01904, allocations: 59.41 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.01957, allocations: 413.8 kB / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.01965, allocations: 37.7 kB / 0.6258 GB, free: 13.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01975, allocations: 101.4 kB / 0.6259 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.01981, allocations: 43.73 kB / 0.6259 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.02003, allocations: 125.5 kB / 0.626 GB, free: 12.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.02022, allocations: 326.8 kB / 0.6263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.02058, allocations: 191.3 kB / 0.6265 GB, free: 12.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.02098, allocations: 249.2 kB / 0.6268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.02141, allocations: 271.7 kB / 0.627 GB, free: 11.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.02141, allocations: 0 / 0.627 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001034/0.02244, allocations: 0.5663 MB / 0.6276 GB, free: 11.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.02254, allocations: 79.56 kB / 0.6276 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.02255, allocations: 8 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.02257, allocations: 4 kB / 0.6277 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.02275, allocations: 15.98 kB / 0.6277 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.02276, allocations: 11.88 kB / 0.6277 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.02328, allocations: 63.86 kB / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.827e-05/0.02338, allocations: 63.97 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.0003013/0.02368, allocations: 200.7 kB / 0.628 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.02375, allocations: 39.77 kB / 0.628 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.02383, allocations: 43.67 kB / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.02383, allocations: 0 / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.02384, allocations: 0 / 0.6281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02384, allocations: 3.938 kB / 0.6281 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.0263, allocations: 0.7152 MB / 0.6288 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0263, allocations: 0 / 0.6288 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.02635, allocations: 7.938 kB / 0.6288 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.02635, allocations: 3.984 kB / 0.6288 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.0264, allocations: 19.92 kB / 0.6288 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.0264, allocations: 4 kB / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.02641, allocations: 4 kB / 0.6288 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.02838, allocations: 0.4957 MB / 0.6293 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.02866, allocations: 145.4 kB / 0.6294 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.02874, allocations: 15.94 kB / 0.6295 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.02925, allocations: 31.97 kB / 0.6295 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.02929, allocations: 15.97 kB / 0.6295 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/0.02937, allocations: 59.98 kB / 0.6296 GB, free: 8.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003335/0.02971, allocations: 295.1 kB / 0.6298 GB, free: 8.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02971, allocations: 0 / 0.6298 GB, free: 8.652 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003951/0.0301, allocations: 67.98 kB / 0.6299 GB, free: 8.586 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.0001893/0.03029, allocations: 116.9 kB / 0.63 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.03173, allocations: 485.9 kB / 0.6305 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03173, allocations: 3.938 kB / 0.6305 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.03258, allocations: 122.6 kB / 0.6306 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.03297, allocations: 34.77 kB / 0.6306 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.03462, allocations: 0.566 MB / 0.6312 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.03483, allocations: 174.8 kB / 0.6314 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.741e-05/0.03489, allocations: 13.14 kB / 0.6314 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.03493, allocations: 16.44 kB / 0.6314 GB, free: 6.988 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.03494, allocations: 0 / 0.6314 GB, free: 6.988 MB / 0.545 GB Notification: Performance of Templates: time 0.01093/0.04586, allocations: 5.863 MB / 0.6371 GB, free: 1.105 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.079232841730118] Failed to read output from testmodel.py, exit status != 0: 0.055085688829422 0.07001526400000001 0.058696213000000004 Calling exit ...