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.001524/0.001524, allocations: 84.73 kB / 19.44 MB, free: 356 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.001788/0.001788, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.227/1.227, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 1.563e-06/1.563e-06, allocations: 1.094 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.943e-05, allocations: 5.844 kB / 0.5196 GB, free: 2.598 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003018/0.003048, allocations: 1.514 MB / 0.5211 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004444, allocations: 0.5365 MB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.004494, allocations: 3.938 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.004597, allocations: 3.938 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.004714, allocations: 27.84 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.005556, allocations: 316.4 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.006205, allocations: 491.4 kB / 0.5224 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.006255, allocations: 12.47 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.006809, allocations: 352.6 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.007112, allocations: 129.6 kB / 0.5229 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.007198, allocations: 28 kB / 0.5229 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/0.00728, allocations: 27.94 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.007436, allocations: 120.3 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.007624, allocations: 123.8 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.008242, allocations: 468 kB / 0.5236 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.008246, allocations: 0 / 0.5236 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.008247, allocations: 0 / 0.5236 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.008252, allocations: 0.5625 kB / 0.5236 GB, free: 14.51 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.001415/0.009667, allocations: 0.8003 MB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.009713, allocations: 12.03 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.00988, allocations: 52.7 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.01037, allocations: 268.6 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.01043, allocations: 12.38 kB / 0.5247 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.01051, allocations: 29.67 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.01162, allocations: 229.5 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01163, allocations: 192 / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.01167, allocations: 8.938 kB / 0.525 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.01167, allocations: 1.281 kB / 0.525 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.01251, allocations: 116.8 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.01318, allocations: 283.7 kB / 0.5253 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.01429, allocations: 182.4 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.01511, allocations: 118.3 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.01514, allocations: 4.531 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.01622, allocations: 243 kB / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.01623, allocations: 0 / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.002911/0.01914, allocations: 0.5372 MB / 0.5264 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.01919, allocations: 59.41 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.01967, allocations: 413.8 kB / 0.5268 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.01974, allocations: 37.7 kB / 0.5269 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01986, allocations: 101.4 kB / 0.527 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.0199, allocations: 38.59 kB / 0.527 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.02013, allocations: 125.5 kB / 0.5271 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.02031, allocations: 322.8 kB / 0.5274 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.02067, allocations: 199.3 kB / 0.5276 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.02108, allocations: 245.2 kB / 0.5279 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.02151, allocations: 268.7 kB / 0.5281 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02152, allocations: 0.5625 kB / 0.5281 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001081/0.0226, allocations: 0.597 MB / 0.5287 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-05/0.0227, allocations: 79.38 kB / 0.5288 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.0227, allocations: 0 / 0.5288 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.02272, allocations: 4 kB / 0.5288 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.0229, allocations: 27.91 kB / 0.5288 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.02291, allocations: 3.938 kB / 0.5288 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.02343, allocations: 70.31 kB / 0.5289 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.02354, allocations: 59.98 kB / 0.5289 GB, free: 8.746 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.000265/0.0238, allocations: 193.7 kB / 0.5291 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.02389, allocations: 44.69 kB / 0.5292 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.02397, allocations: 39.69 kB / 0.5292 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.02397, allocations: 5.094 kB / 0.5292 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.02398, allocations: 0 / 0.5292 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.02398, allocations: 7.922 kB / 0.5292 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.02636, allocations: 0.71 MB / 0.5299 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.02637, allocations: 4 kB / 0.5299 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.0264, allocations: 6.375 kB / 0.5299 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.0264, allocations: 4 kB / 0.5299 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.02644, allocations: 23.91 kB / 0.5299 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.02645, allocations: 0 / 0.5299 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.02645, allocations: 0 / 0.5299 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.0284, allocations: 0.5028 MB / 0.5304 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.02868, allocations: 141.5 kB / 0.5306 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.02875, allocations: 11.94 kB / 0.5306 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.02925, allocations: 41 kB / 0.5306 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.02928, allocations: 11.98 kB / 0.5306 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/0.02936, allocations: 55.97 kB / 0.5307 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003455/0.02971, allocations: 295.8 kB / 0.531 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02971, allocations: 3.938 kB / 0.531 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003516/0.03006, allocations: 68.64 kB / 0.531 GB, free: 6.543 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.0001706/0.03023, allocations: 122.7 kB / 0.5311 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.03167, allocations: 488.2 kB / 0.5316 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03167, allocations: 1.5 kB / 0.5316 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008458/0.03252, allocations: 126.9 kB / 0.5317 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.03291, allocations: 49.61 kB / 0.5318 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.03473, allocations: 0.5885 MB / 0.5324 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.03493, allocations: 164 kB / 0.5325 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.683e-05/0.03498, allocations: 15.8 kB / 0.5325 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.03503, allocations: 12.5 kB / 0.5325 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.03503, allocations: 0 / 0.5325 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of Templates: time 0.01049/0.04552, allocations: 5.967 MB / 0.5384 GB, free: 15.07 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.152065339032561]