Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.0006864/0.0006864, 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.0007692/0.0007692, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8704/0.8704, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7329/0.7329, allocations: 154.5 MB / 414.5 MB, free: 0.8555 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 4 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.788e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002699/0.002736, allocations: 1.509 MB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.004065, allocations: 0.5343 MB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.004128, allocations: 0 / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.004234, allocations: 11.86 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.004367, allocations: 31.58 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.005128, allocations: 324.6 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.005606, allocations: 491.4 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.005654, allocations: 4 kB / 0.6221 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004582/0.006112, allocations: 351.6 kB / 0.6224 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.006362, allocations: 123.8 kB / 0.6225 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.006431, allocations: 28 kB / 0.6225 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.006487, allocations: 28 kB / 0.6226 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.006615, allocations: 123.6 kB / 0.6227 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.006768, allocations: 131.7 kB / 0.6228 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.007218, allocations: 466.8 kB / 0.6232 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007221, allocations: 0 / 0.6232 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/0.007222, allocations: 0 / 0.6232 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.007227, allocations: 0 / 0.6232 GB, free: 9.152 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.001092/0.008319, allocations: 0.7988 MB / 0.624 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.008358, allocations: 9.469 kB / 0.624 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.008473, allocations: 56.69 kB / 0.6241 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.008806, allocations: 256 kB / 0.6243 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.008851, allocations: 16.36 kB / 0.6244 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.008921, allocations: 28.36 kB / 0.6244 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.009635, allocations: 237.9 kB / 0.6246 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.009644, allocations: 192 / 0.6246 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.009668, allocations: 4.375 kB / 0.6246 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.009674, allocations: 4.359 kB / 0.6246 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.0102, allocations: 111.9 kB / 0.6247 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.01053, allocations: 285.1 kB / 0.625 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.01125, allocations: 182.4 kB / 0.6252 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.01177, allocations: 120.8 kB / 0.6253 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.01179, allocations: 4 kB / 0.6253 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006584/0.01245, allocations: 239 kB / 0.6255 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.01245, allocations: 0 / 0.6255 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001857/0.01431, allocations: 0.5206 MB / 0.626 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.01436, allocations: 63.39 kB / 0.6261 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.01474, allocations: 413.9 kB / 0.6265 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.01479, allocations: 41.69 kB / 0.6265 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.01486, allocations: 93.45 kB / 0.6266 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.01491, allocations: 43.69 kB / 0.6266 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.01508, allocations: 121.5 kB / 0.6268 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01521, allocations: 330.8 kB / 0.6271 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.0155, allocations: 191.3 kB / 0.6273 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.01582, allocations: 245.3 kB / 0.6275 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.01616, allocations: 279.3 kB / 0.6278 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.01616, allocations: 0 / 0.6278 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007941/0.01696, allocations: 0.5585 MB / 0.6283 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.01703, allocations: 87.38 kB / 0.6284 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01704, allocations: 0 / 0.6284 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01705, allocations: 4 kB / 0.6284 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01718, allocations: 19.92 kB / 0.6284 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01719, allocations: 8.125 kB / 0.6284 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.01754, allocations: 67.89 kB / 0.6285 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.01763, allocations: 63.98 kB / 0.6285 GB, free: 3.398 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002039/0.01783, allocations: 194.7 kB / 0.6287 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.01789, allocations: 39.77 kB / 0.6288 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.01796, allocations: 43.67 kB / 0.6288 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01796, allocations: 0 / 0.6288 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01796, allocations: 4 kB / 0.6288 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01797, allocations: 7.875 kB / 0.6288 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.0196, allocations: 0.7155 MB / 0.6295 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.0196, allocations: 0 / 0.6295 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.01963, allocations: 7.984 kB / 0.6295 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01963, allocations: 4 kB / 0.6295 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.01966, allocations: 23.92 kB / 0.6296 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01966, allocations: 4 kB / 0.6296 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01967, allocations: 3.984 kB / 0.6296 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.02053, allocations: 499.6 kB / 0.63 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.02071, allocations: 141.5 kB / 0.6302 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.02075, allocations: 11.94 kB / 0.6302 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.02098, allocations: 43.95 kB / 0.6302 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.02101, allocations: 11.92 kB / 0.6302 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.02105, allocations: 55.98 kB / 0.6303 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002009/0.02125, allocations: 295.1 kB / 0.6306 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02125, allocations: 0 / 0.6306 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002243/0.02148, allocations: 67.98 kB / 0.6306 GB, free: 1.191 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001148/0.02159, allocations: 121.2 kB / 0.6308 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007093/0.0223, allocations: 485.9 kB / 0.6312 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0223, allocations: 0 / 0.6312 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.02267, allocations: 130.8 kB / 0.6313 GB, free: 440 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.02291, allocations: 28.7 kB / 0.6314 GB, free: 416 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.02377, allocations: 0.6028 MB / 0.632 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02389, allocations: 166.8 kB / 0.6321 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.02392, allocations: 16.48 kB / 0.6321 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.02392, allocations: 0 / 0.6321 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.003894/0.02782, allocations: 3.745 MB / 0.6358 GB, free: 11.79 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.422205072827637] Failed to read output from testmodel.py, exit status != 0: 0.03435924928635359 0.043723449000000005 0.033796165 Calling exit ...