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.001412/0.001412, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001485/0.001485, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-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 1.247/1.247, allocations: 154.8 MB / 414.4 MB, free: 464 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 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.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.633e-06/1.633e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.648e-05, allocations: 6.312 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003948/0.003974, allocations: 1.516 MB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.006012, allocations: 0.5309 MB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.006085, allocations: 0 / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.006218, allocations: 11.86 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.006373, allocations: 27.84 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.007622, allocations: 308.9 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.008497, allocations: 492.1 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.008541, allocations: 4 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007842/0.009326, allocations: 353.1 kB / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.009759, allocations: 127.7 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.009876, allocations: 29.34 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.009995, allocations: 28 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.0102, allocations: 119.6 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.01048, allocations: 127.7 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.01138, allocations: 467.6 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.01138, allocations: 0 / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.01138, allocations: 0 / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.01139, allocations: 2.938 kB / 0.5238 GB, free: 14.25 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.002019/0.01341, allocations: 0.799 MB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.01346, allocations: 8.031 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.01371, allocations: 60.69 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.01433, allocations: 256 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.01441, allocations: 20.36 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.01453, allocations: 28.91 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.01615, allocations: 227.3 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01616, allocations: 4.688 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.01621, allocations: 8.359 kB / 0.5252 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01622, allocations: 1.844 kB / 0.5252 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.01752, allocations: 120.8 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.01818, allocations: 277.1 kB / 0.5256 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.01992, allocations: 181 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.02115, allocations: 114.8 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.02119, allocations: 8 kB / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.02281, allocations: 240.4 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.02281, allocations: 6.938 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.004425/0.02724, allocations: 0.533 MB / 0.5266 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.02732, allocations: 59.34 kB / 0.5267 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.02807, allocations: 413.9 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.02819, allocations: 41.69 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.02835, allocations: 97.44 kB / 0.5272 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/0.02843, allocations: 40.22 kB / 0.5272 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.02877, allocations: 126.8 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002489/0.02902, allocations: 322.8 kB / 0.5277 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.02959, allocations: 191.3 kB / 0.5278 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.03022, allocations: 245.3 kB / 0.5281 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.03089, allocations: 273.7 kB / 0.5283 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.03089, allocations: 4 kB / 0.5283 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001713/0.03261, allocations: 0.58 MB / 0.5289 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.03275, allocations: 85.81 kB / 0.529 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.03276, allocations: 4 kB / 0.529 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.03279, allocations: 0 / 0.529 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.03305, allocations: 23.92 kB / 0.529 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.03306, allocations: 7.938 kB / 0.529 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.03388, allocations: 66.28 kB / 0.5291 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.03403, allocations: 63.95 kB / 0.5292 GB, free: 8.496 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.000273/0.0343, allocations: 205.7 kB / 0.5293 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.03439, allocations: 39.77 kB / 0.5294 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.03446, allocations: 48.7 kB / 0.5294 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.03446, allocations: 0 / 0.5294 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.03447, allocations: 0 / 0.5294 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.03447, allocations: 4.875 kB / 0.5294 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.03689, allocations: 0.7078 MB / 0.5301 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.0369, allocations: 3.984 kB / 0.5301 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.03693, allocations: 4 kB / 0.5301 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.03694, allocations: 4.641 kB / 0.5301 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.03698, allocations: 23.91 kB / 0.5302 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.03698, allocations: 0.8438 kB / 0.5302 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03698, allocations: 0 / 0.5302 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.03893, allocations: 0.5084 MB / 0.5307 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.03921, allocations: 142.1 kB / 0.5308 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.03929, allocations: 19.92 kB / 0.5308 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.03979, allocations: 37.88 kB / 0.5308 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.03984, allocations: 7.984 kB / 0.5309 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/0.03993, allocations: 63.97 kB / 0.5309 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003511/0.04028, allocations: 292 kB / 0.5312 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04028, allocations: 0 / 0.5312 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003851/0.04066, allocations: 64.91 kB / 0.5313 GB, free: 6.285 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.0001866/0.04085, allocations: 119.7 kB / 0.5314 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.04232, allocations: 489.8 kB / 0.5318 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.04232, allocations: 7.875 kB / 0.5318 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008494/0.04317, allocations: 123.8 kB / 0.532 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.04357, allocations: 58.67 kB / 0.532 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.04517, allocations: 0.5796 MB / 0.5326 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.04537, allocations: 168.2 kB / 0.5327 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.86e-05/0.04543, allocations: 16.2 kB / 0.5328 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.04547, allocations: 16.5 kB / 0.5328 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/0.04547, allocations: 0 / 0.5328 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.01076/0.05623, allocations: 5.964 MB / 0.5386 GB, free: 14.8 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952033803099766]