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.001036/0.001036, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009564/0.0009564, allocations: 173 kB / 23.49 MB, free: 1.059 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.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8057/0.8057, allocations: 154.8 MB / 415.1 MB, free: 0.5039 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 1.833e-06/1.833e-06, allocations: 0 / 0.5205 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.108e-05, allocations: 5.484 kB / 0.5205 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002146/0.002177, allocations: 1.55 MB / 0.522 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.004594, allocations: 0.5408 MB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.004689, allocations: 2 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.004813, allocations: 11.86 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.004952, allocations: 19.88 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.005908, allocations: 320 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.006563, allocations: 491.4 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.006615, allocations: 4.688 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.007145, allocations: 356.2 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.00748, allocations: 128.4 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.007562, allocations: 29.44 kB / 0.5239 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.007622, allocations: 24 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.00776, allocations: 111.7 kB / 0.524 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.007923, allocations: 135.7 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.008401, allocations: 379.6 kB / 0.5245 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.008407, allocations: 0 / 0.5245 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.008408, allocations: 0.8438 kB / 0.5245 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.008415, allocations: 0 / 0.5245 GB, free: 14.27 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.001313/0.009729, allocations: 0.9096 MB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.009777, allocations: 12.03 kB / 0.5254 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.009955, allocations: 60.66 kB / 0.5254 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.01034, allocations: 258.8 kB / 0.5257 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.0104, allocations: 20.3 kB / 0.5257 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.01047, allocations: 32.36 kB / 0.5257 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.01102, allocations: 201.7 kB / 0.5259 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.01103, allocations: 1.406 kB / 0.5259 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.01106, allocations: 8.375 kB / 0.5259 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01107, allocations: 384 / 0.5259 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.01124, allocations: 61.41 kB / 0.526 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.01168, allocations: 308.4 kB / 0.5263 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.012, allocations: 127.5 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.01216, allocations: 66.25 kB / 0.5265 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.01219, allocations: 6.438 kB / 0.5265 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.0125, allocations: 181.7 kB / 0.5267 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.544e-06/0.0125, allocations: 0 / 0.5267 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0008309/0.01333, allocations: 379.4 kB / 0.527 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.01338, allocations: 63.34 kB / 0.5271 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.0138, allocations: 418.7 kB / 0.5275 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.01386, allocations: 41.69 kB / 0.5275 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.01395, allocations: 144.1 kB / 0.5277 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.014, allocations: 43.72 kB / 0.5277 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.01421, allocations: 136 kB / 0.5278 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.01437, allocations: 0.4923 MB / 0.5283 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.01469, allocations: 176.5 kB / 0.5285 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.01502, allocations: 241.1 kB / 0.5287 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.01541, allocations: 277.2 kB / 0.529 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01541, allocations: 0 / 0.529 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000899/0.01631, allocations: 0.559 MB / 0.5295 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/0.01639, allocations: 83.91 kB / 0.5296 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.0164, allocations: 5.5 kB / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01642, allocations: 7.875 kB / 0.5296 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.01662, allocations: 31.97 kB / 0.5296 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.01663, allocations: 7.938 kB / 0.5297 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.01693, allocations: 48.98 kB / 0.5297 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.01735, allocations: 59.92 kB / 0.5298 GB, free: 8.566 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.0002463/0.01759, allocations: 189.5 kB / 0.5299 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.0177, allocations: 44.48 kB / 0.53 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.01778, allocations: 35.67 kB / 0.53 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01779, allocations: 0.6875 kB / 0.53 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.01779, allocations: 4 kB / 0.53 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.0178, allocations: 5.062 kB / 0.53 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.01881, allocations: 0.6703 MB / 0.5307 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.01882, allocations: 0 / 0.5307 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.01886, allocations: 4 kB / 0.5307 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01887, allocations: 5.219 kB / 0.5307 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.01889, allocations: 27.91 kB / 0.5307 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.0189, allocations: 3.938 kB / 0.5307 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.0189, allocations: 0.9688 kB / 0.5307 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.01931, allocations: 467.4 kB / 0.5312 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.01945, allocations: 121.6 kB / 0.5313 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.0195, allocations: 19.88 kB / 0.5313 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.01967, allocations: 26.5 kB / 0.5313 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.01971, allocations: 7.984 kB / 0.5313 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.01975, allocations: 55.97 kB / 0.5314 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001674/0.01992, allocations: 275.1 kB / 0.5316 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01992, allocations: 0 / 0.5316 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002302/0.02015, allocations: 63.98 kB / 0.5317 GB, free: 6.52 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.0001617/0.02031, allocations: 122.2 kB / 0.5318 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.02082, allocations: 427.9 kB / 0.5322 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.02082, allocations: 4 kB / 0.5322 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.02094, allocations: 84.86 kB / 0.5323 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.02127, allocations: 52.61 kB / 0.5324 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.02216, allocations: 482.9 kB / 0.5328 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.02223, allocations: 89.3 kB / 0.5329 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.02227, allocations: 11.44 kB / 0.5329 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.02231, allocations: 20.48 kB / 0.5329 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/0.02231, allocations: 0 / 0.5329 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.007673/0.02999, allocations: 5.958 MB / 0.5388 GB, free: 15.28 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: 4.022504945052788]