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.002172/0.002172, allocations: 93.47 kB / 19.44 MB, free: 336 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.002368/0.002368, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.621/1.621, allocations: 177.1 MB / 203.1 MB, free: 5.559 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.318/1.318, allocations: 154.8 MB / 414.3 MB, free: 488 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.303e-06/1.303e-06, allocations: 4.594 kB / 0.5198 GB, free: 2.367 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.689e-05, allocations: 4.703 kB / 0.5198 GB, free: 2.363 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.00296/0.002987, allocations: 1.537 MB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004373, allocations: 0.532 MB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.004422, allocations: 0 / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004525, allocations: 5.375 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.004642, allocations: 31.78 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.005682, allocations: 320 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.006282, allocations: 488.2 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.006322, allocations: 4 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.00689, allocations: 354.7 kB / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.007201, allocations: 127.7 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.007333, allocations: 28 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.007474, allocations: 28 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.007635, allocations: 119.7 kB / 0.5233 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.007844, allocations: 131.7 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.008457, allocations: 454.7 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.00846, allocations: 0.5 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008461, allocations: 0.8125 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.008466, allocations: 0 / 0.5238 GB, free: 14.26 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.001494/0.00996, allocations: 0.9226 MB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.009997, allocations: 13 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.01015, allocations: 52.7 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.01067, allocations: 267.8 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.01072, allocations: 16.36 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.0108, allocations: 28.38 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.01143, allocations: 203.6 kB / 0.5253 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.01144, allocations: 192 / 0.5253 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.01147, allocations: 4.375 kB / 0.5253 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.01147, allocations: 4.875 kB / 0.5253 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.01188, allocations: 80.86 kB / 0.5254 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.01237, allocations: 341.6 kB / 0.5257 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.01299, allocations: 151.6 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.01338, allocations: 88.39 kB / 0.5259 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.01341, allocations: 4 kB / 0.5259 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.014, allocations: 210.8 kB / 0.5261 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.01401, allocations: 0 / 0.5261 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001615/0.01562, allocations: 436.8 kB / 0.5265 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.01569, allocations: 67.92 kB / 0.5266 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.01621, allocations: 462.7 kB / 0.527 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.01628, allocations: 42.53 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01641, allocations: 140.2 kB / 0.5272 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.01647, allocations: 48.31 kB / 0.5273 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.0167, allocations: 135.6 kB / 0.5274 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.01697, allocations: 0.5001 MB / 0.5279 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.01737, allocations: 216.9 kB / 0.5281 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.0178, allocations: 285 kB / 0.5284 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.01829, allocations: 316.4 kB / 0.5287 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.0183, allocations: 6.75 kB / 0.5287 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001317/0.01961, allocations: 0.6182 MB / 0.5293 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.01971, allocations: 79.38 kB / 0.5294 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01971, allocations: 4 kB / 0.5294 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01973, allocations: 6.312 kB / 0.5294 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.01993, allocations: 35.92 kB / 0.5294 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01994, allocations: 7.922 kB / 0.5294 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.0203, allocations: 43.92 kB / 0.5294 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.0204, allocations: 63.97 kB / 0.5295 GB, free: 8.098 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.0002099/0.02061, allocations: 201.2 kB / 0.5297 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.0207, allocations: 44.67 kB / 0.5297 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.02077, allocations: 39.67 kB / 0.5298 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.02077, allocations: 2.188 kB / 0.5298 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02077, allocations: 0 / 0.5298 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.02078, allocations: 3.938 kB / 0.5298 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.0225, allocations: 0.7454 MB / 0.5305 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.0225, allocations: 0.875 kB / 0.5305 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.02254, allocations: 7.984 kB / 0.5305 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02254, allocations: 0.6562 kB / 0.5305 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.02258, allocations: 19.92 kB / 0.5305 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02258, allocations: 7.438 kB / 0.5305 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02259, allocations: 3.938 kB / 0.5305 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.02376, allocations: 500 kB / 0.531 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.02406, allocations: 129.4 kB / 0.5312 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.02415, allocations: 11.94 kB / 0.5312 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.02443, allocations: 22.88 kB / 0.5312 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.02448, allocations: 11.98 kB / 0.5312 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/0.02456, allocations: 59.97 kB / 0.5313 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003104/0.02487, allocations: 287.1 kB / 0.5315 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02487, allocations: 0 / 0.5315 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003667/0.02524, allocations: 67.98 kB / 0.5316 GB, free: 5.898 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.0001611/0.0254, allocations: 110.6 kB / 0.5317 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.02659, allocations: 0.6002 MB / 0.5323 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02659, allocations: 0 / 0.5323 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.02702, allocations: 103.5 kB / 0.5324 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.02741, allocations: 54.34 kB / 0.5324 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.02853, allocations: 0.4919 MB / 0.5329 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.02872, allocations: 159.3 kB / 0.5331 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.77e-05/0.02878, allocations: 11.7 kB / 0.5331 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.02883, allocations: 16.5 kB / 0.5331 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.02883, allocations: 0.6562 kB / 0.5331 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.01145/0.04028, allocations: 5.971 MB / 0.5389 GB, free: 14.41 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: 6.192383948015049]