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.0009838/0.0009838, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001016/0.001016, allocations: 169 kB / 23.28 MB, free: 1.215 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.948/0.948, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7864/0.7864, allocations: 154.9 MB / 415.1 MB, free: 260 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.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 1.553e-06/1.553e-06, allocations: 0 / 0.5211 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.629e-05, allocations: 4.141 kB / 0.5211 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.005395/0.005421, allocations: 1.545 MB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.006527, allocations: 0.5431 MB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.0066, allocations: 1.125 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.006694, allocations: 11.86 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.006801, allocations: 23.86 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.0106, allocations: 318 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.01117, allocations: 491.4 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.01122, allocations: 8.547 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.01169, allocations: 348.2 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.01197, allocations: 140.6 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.01204, allocations: 28 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.0121, allocations: 28 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.01221, allocations: 115.7 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.01235, allocations: 136.8 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.01271, allocations: 370.9 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01271, allocations: 4 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01272, allocations: 0.6875 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01272, allocations: 1.281 kB / 0.525 GB, free: 13.54 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.00408/0.0168, allocations: 0.9195 MB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01684, allocations: 8.031 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.01695, allocations: 56.7 kB / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.01723, allocations: 258.8 kB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.01728, allocations: 17.06 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.01734, allocations: 36.34 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.01773, allocations: 200.3 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01774, allocations: 192 / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.01776, allocations: 8.359 kB / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01777, allocations: 384 / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.01788, allocations: 60.41 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.01818, allocations: 254.9 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01838, allocations: 113.7 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01848, allocations: 52.02 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.01851, allocations: 9.219 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.01873, allocations: 179.3 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.01873, allocations: 0.9062 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.003607/0.02234, allocations: 362.7 kB / 0.5275 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.02237, allocations: 59.41 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.0228, allocations: 420.2 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.02284, allocations: 41.69 kB / 0.528 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.02291, allocations: 140.1 kB / 0.5281 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.02295, allocations: 35.72 kB / 0.5282 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.02311, allocations: 136.4 kB / 0.5283 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.02323, allocations: 0.5039 MB / 0.5288 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.02342, allocations: 163.3 kB / 0.5289 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.02363, allocations: 226.5 kB / 0.5291 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.02387, allocations: 261 kB / 0.5294 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02387, allocations: 0 / 0.5294 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000596/0.02446, allocations: 0.5275 MB / 0.5299 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.02452, allocations: 84.81 kB / 0.53 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02453, allocations: 3.938 kB / 0.53 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.02454, allocations: 4 kB / 0.53 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.02468, allocations: 36.41 kB / 0.53 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.02469, allocations: 4 kB / 0.53 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.0249, allocations: 53.33 kB / 0.5301 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.02497, allocations: 67.95 kB / 0.5302 GB, free: 8 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 (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.0001443/0.02511, allocations: 182.1 kB / 0.5303 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.02517, allocations: 47.75 kB / 0.5304 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.02522, allocations: 31.69 kB / 0.5304 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02523, allocations: 5.031 kB / 0.5304 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02523, allocations: 0 / 0.5304 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02524, allocations: 7.969 kB / 0.5304 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.02598, allocations: 0.6085 MB / 0.531 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02598, allocations: 6.438 kB / 0.531 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.02601, allocations: 4 kB / 0.531 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.02601, allocations: 0 / 0.531 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.02604, allocations: 23.97 kB / 0.531 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.02604, allocations: 4 kB / 0.531 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02604, allocations: 3.938 kB / 0.5311 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.02673, allocations: 449.5 kB / 0.5315 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.02692, allocations: 133.4 kB / 0.5316 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.02697, allocations: 13.31 kB / 0.5316 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.0272, allocations: 28.94 kB / 0.5316 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.02723, allocations: 15.92 kB / 0.5317 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.02729, allocations: 60.72 kB / 0.5317 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001546/0.02744, allocations: 255 kB / 0.532 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02744, allocations: 0.625 kB / 0.532 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003027/0.02774, allocations: 71.98 kB / 0.532 GB, free: 6.031 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 (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.00012/0.02786, allocations: 111.6 kB / 0.5321 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.0314, allocations: 429.4 kB / 0.5325 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0314, allocations: 2.531 kB / 0.5326 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.03152, allocations: 74.77 kB / 0.5326 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.03183, allocations: 54.17 kB / 0.5327 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.0326, allocations: 475.7 kB / 0.5331 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.454e-05/0.03265, allocations: 83.81 kB / 0.5332 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.0327, allocations: 15.92 kB / 0.5332 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.03292, allocations: 136.9 kB / 0.5334 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.03292, allocations: 0 / 0.5334 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of Templates: time 0.009609/0.04253, allocations: 5.427 MB / 0.5387 GB, free: 15.24 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.782917042262852]