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.0009253/0.0009253, allocations: 92.22 kB / 19.65 MB, free: 276 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.00144/0.00144, allocations: 169 kB / 23.02 MB, free: 1.547 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.066/1.066, allocations: 177.1 MB / 203.4 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.7982/0.7982, allocations: 154.8 MB / 414.7 MB, free: 0.4922 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.724e-06/1.724e-06, allocations: 3.938 kB / 0.5205 GB, free: 2.004 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.526e-05, allocations: 4.281 kB / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.00268/0.002706, allocations: 1.551 MB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004157, allocations: 0.5391 MB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.004255, allocations: 0.5625 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.004394, allocations: 8.875 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.004551, allocations: 27.84 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009305/0.005482, allocations: 316.4 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.006015, allocations: 491.4 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.006068, allocations: 0.625 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.00663, allocations: 357.4 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.006939, allocations: 128.3 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.007023, allocations: 28 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.007091, allocations: 25.53 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.007225, allocations: 119.7 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.007383, allocations: 131.7 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.00782, allocations: 378.9 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007823, allocations: 1.281 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007824, allocations: 0 / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.007832, allocations: 0 / 0.5245 GB, free: 13.96 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.0009958/0.008827, allocations: 0.8995 MB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.008861, allocations: 12.72 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.008967, allocations: 64.59 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.009234, allocations: 260.1 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.00927, allocations: 20.36 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.009319, allocations: 28.38 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.009657, allocations: 201.9 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.009669, allocations: 1.656 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.009689, allocations: 4.359 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.009698, allocations: 8.359 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.009798, allocations: 64.25 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.01011, allocations: 311.2 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.01033, allocations: 130.7 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.01044, allocations: 62.78 kB / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.01046, allocations: 0 / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.01067, allocations: 187.8 kB / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.01067, allocations: 0 / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005925/0.01126, allocations: 379.7 kB / 0.527 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.0113, allocations: 60.52 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.01159, allocations: 422.7 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.01162, allocations: 37.7 kB / 0.5275 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.01171, allocations: 149.2 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.01175, allocations: 35.73 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01188, allocations: 135.1 kB / 0.5278 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01202, allocations: 0.4933 MB / 0.5283 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.01224, allocations: 179.3 kB / 0.5285 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.01247, allocations: 245.8 kB / 0.5287 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.01272, allocations: 273.8 kB / 0.529 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01273, allocations: 0 / 0.529 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005847/0.01331, allocations: 0.5571 MB / 0.5295 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.01337, allocations: 85.7 kB / 0.5296 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.01338, allocations: 1.812 kB / 0.5296 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.0134, allocations: 4 kB / 0.5296 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01353, allocations: 35.92 kB / 0.5296 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01354, allocations: 7.938 kB / 0.5296 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01371, allocations: 53.39 kB / 0.5297 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.01377, allocations: 59.97 kB / 0.5298 GB, free: 8.25 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.0001156/0.01388, allocations: 192.5 kB / 0.5299 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.01393, allocations: 44.86 kB / 0.53 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.01397, allocations: 31.69 kB / 0.53 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01398, allocations: 4.953 kB / 0.53 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01398, allocations: 0 / 0.53 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01399, allocations: 3.938 kB / 0.53 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.01466, allocations: 0.6712 MB / 0.5307 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01466, allocations: 3.984 kB / 0.5307 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.01468, allocations: 4 kB / 0.5307 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01469, allocations: 2 kB / 0.5307 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.01471, allocations: 31.91 kB / 0.5307 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01471, allocations: 0 / 0.5307 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01472, allocations: 0 / 0.5307 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.0151, allocations: 463.5 kB / 0.5312 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.01524, allocations: 129.5 kB / 0.5313 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.01528, allocations: 11.94 kB / 0.5313 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.01543, allocations: 22.53 kB / 0.5313 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.01546, allocations: 11.98 kB / 0.5313 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.01551, allocations: 59.97 kB / 0.5314 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001576/0.01567, allocations: 275 kB / 0.5316 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01567, allocations: 0 / 0.5316 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002217/0.01589, allocations: 73.67 kB / 0.5317 GB, free: 6.195 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.0001007/0.01599, allocations: 105.2 kB / 0.5318 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.01643, allocations: 439.8 kB / 0.5322 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01643, allocations: 0 / 0.5322 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.01654, allocations: 85.94 kB / 0.5323 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01679, allocations: 50.5 kB / 0.5324 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.01758, allocations: 478.9 kB / 0.5328 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01763, allocations: 83.81 kB / 0.5329 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.01766, allocations: 15.2 kB / 0.5329 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.0177, allocations: 17.88 kB / 0.5329 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.0177, allocations: 0 / 0.5329 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of Templates: time 0.006465/0.02417, allocations: 5.971 MB / 0.5388 GB, free: 14.95 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.033093235921115]