Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001786/0.001786, allocations: 85.48 kB / 19.44 MB, free: 344 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.002075/0.002075, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.554/1.554, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.34/1.34, allocations: 154.6 MB / 414.2 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.591e-05, allocations: 4.281 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.004562/0.004598, allocations: 1.521 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.006566, allocations: 0.5333 MB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.006663, allocations: 4 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.006808, allocations: 13.08 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.006981, allocations: 27.84 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.008272, allocations: 317.2 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009233/0.009195, allocations: 483.5 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.754e-05/0.009253, allocations: 19.86 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.01003, allocations: 351.6 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.01043, allocations: 125.5 kB / 0.5229 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.0106, allocations: 24 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.01077, allocations: 28 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.01097, allocations: 119.6 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.01124, allocations: 133.1 kB / 0.5232 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.01207, allocations: 466.6 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.01207, allocations: 4 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.595e-06/0.01208, allocations: 0.5312 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.01209, allocations: 4 kB / 0.5236 GB, free: 14.45 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.001976/0.01406, allocations: 0.911 MB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.01411, allocations: 13.48 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.01435, allocations: 56.7 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.01503, allocations: 262.8 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.0151, allocations: 17.72 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.01522, allocations: 28.36 kB / 0.5249 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009008/0.01612, allocations: 208.1 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01613, allocations: 192 / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.01617, allocations: 4.375 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01617, allocations: 384 / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.01675, allocations: 87.89 kB / 0.5252 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.01748, allocations: 336.4 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/0.01833, allocations: 147.6 kB / 0.5256 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.0189, allocations: 89.16 kB / 0.5257 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.01894, allocations: 4 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/0.01976, allocations: 206.3 kB / 0.5259 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.01976, allocations: 10.38 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.002276/0.02204, allocations: 441.8 kB / 0.5263 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.02212, allocations: 63.33 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/0.02292, allocations: 470.7 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/0.02302, allocations: 37.7 kB / 0.5269 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.0232, allocations: 144.2 kB / 0.527 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/0.02329, allocations: 47.67 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.02367, allocations: 139.1 kB / 0.5272 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003709/0.02404, allocations: 0.4962 MB / 0.5277 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.02462, allocations: 212.5 kB / 0.5279 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.02528, allocations: 289.1 kB / 0.5282 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.02599, allocations: 317.1 kB / 0.5285 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.026, allocations: 0.6562 kB / 0.5285 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001655/0.02765, allocations: 0.6145 MB / 0.5291 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.02779, allocations: 81.81 kB / 0.5291 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.0278, allocations: 0 / 0.5291 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.02783, allocations: 7.984 kB / 0.5291 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.02811, allocations: 31.92 kB / 0.5292 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.02813, allocations: 7.938 kB / 0.5292 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.02867, allocations: 50.98 kB / 0.5292 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.02882, allocations: 63.97 kB / 0.5293 GB, free: 8.297 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.0003507/0.02917, allocations: 188.5 kB / 0.5295 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.02933, allocations: 43.75 kB / 0.5295 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.02944, allocations: 35.69 kB / 0.5295 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.02945, allocations: 7.984 kB / 0.5296 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.02946, allocations: 0 / 0.5296 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.02948, allocations: 11.55 kB / 0.5296 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.03195, allocations: 0.7377 MB / 0.5303 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.03196, allocations: 0 / 0.5303 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.032, allocations: 4 kB / 0.5303 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.03201, allocations: 4 kB / 0.5303 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.03208, allocations: 27.91 kB / 0.5303 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.03209, allocations: 4 kB / 0.5303 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.03209, allocations: 3.25 kB / 0.5303 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.03374, allocations: 499.9 kB / 0.5308 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.03418, allocations: 125.5 kB / 0.5309 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.0343, allocations: 19.94 kB / 0.5309 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.03471, allocations: 23.16 kB / 0.531 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.03476, allocations: 7.984 kB / 0.531 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.03488, allocations: 55.98 kB / 0.531 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004771/0.03535, allocations: 291.1 kB / 0.5313 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03535, allocations: 0 / 0.5313 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006368/0.03599, allocations: 63.98 kB / 0.5314 GB, free: 6.109 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.0002425/0.03623, allocations: 117.2 kB / 0.5315 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.03794, allocations: 0.5951 MB / 0.5321 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.03794, allocations: 0 / 0.5321 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.03855, allocations: 109.6 kB / 0.5322 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.03917, allocations: 50.73 kB / 0.5322 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.04079, allocations: 499 kB / 0.5327 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.04108, allocations: 160.9 kB / 0.5328 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.77e-05/0.04117, allocations: 14.36 kB / 0.5329 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.04124, allocations: 13.38 kB / 0.5329 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/0.04124, allocations: 0 / 0.5329 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of Templates: time 0.018/0.05924, allocations: 5.971 MB / 0.5387 GB, free: 14.63 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.216178026981652]