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.001458/0.001458, allocations: 93.06 kB / 19.65 MB, free: 272 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.001357/0.001357, allocations: 169 kB / 23.02 MB, free: 1.543 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.073/1.073, 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.7587/0.7587, allocations: 154.9 MB / 414.8 MB, free: 400 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 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.694e-06/1.694e-06, allocations: 0 / 0.5206 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.02e-05, allocations: 6.719 kB / 0.5206 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002812/0.002842, allocations: 1.553 MB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004206, allocations: 0.5394 MB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.004278, allocations: 3.438 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.004392, allocations: 11.86 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.00453, allocations: 23.86 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.005419, allocations: 311.3 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.005968, allocations: 491.4 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.006014, allocations: 7.984 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.006502, allocations: 351.6 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.006785, allocations: 132.6 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.984e-05/0.006865, allocations: 28.53 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.006935, allocations: 28 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.007056, allocations: 112.6 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.00721, allocations: 135.7 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.007649, allocations: 380.3 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007652, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.007653, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.00766, allocations: 0 / 0.5246 GB, free: 13.79 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.001235/0.008894, allocations: 0.9036 MB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.008937, allocations: 9 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.009088, allocations: 68.62 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.009437, allocations: 254.8 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.009489, allocations: 21.95 kB / 0.5258 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.009566, allocations: 28.36 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.01009, allocations: 206.8 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.0101, allocations: 192 / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.01013, allocations: 4.375 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01014, allocations: 384 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.0103, allocations: 67.94 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.01072, allocations: 308.4 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.01102, allocations: 130.9 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.01117, allocations: 66.88 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.01119, allocations: 4 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.0115, allocations: 180.8 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.0115, allocations: 0 / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007545/0.01226, allocations: 382.5 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.0123, allocations: 63.34 kB / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.0127, allocations: 422.7 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.01275, allocations: 41.69 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.01284, allocations: 144.1 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.01289, allocations: 43.72 kB / 0.5278 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.01308, allocations: 131.1 kB / 0.528 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01324, allocations: 0.4955 MB / 0.5284 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.01356, allocations: 171.3 kB / 0.5286 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.01387, allocations: 245.1 kB / 0.5288 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.01422, allocations: 278.3 kB / 0.5291 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01422, allocations: 0 / 0.5291 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008515/0.01507, allocations: 0.5561 MB / 0.5296 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/0.01515, allocations: 83.38 kB / 0.5297 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.01516, allocations: 7.984 kB / 0.5297 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.01519, allocations: 4 kB / 0.5297 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.01537, allocations: 36.78 kB / 0.5298 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.01538, allocations: 3.938 kB / 0.5298 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.01567, allocations: 52.55 kB / 0.5298 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.01576, allocations: 60.52 kB / 0.5299 GB, free: 8.074 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.0001707/0.01593, allocations: 185.1 kB / 0.5301 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.01601, allocations: 53.09 kB / 0.5301 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.01606, allocations: 27.69 kB / 0.5301 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01607, allocations: 4 kB / 0.5301 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01607, allocations: 0 / 0.5301 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01608, allocations: 4.594 kB / 0.5301 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.01709, allocations: 0.6744 MB / 0.5308 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01709, allocations: 0 / 0.5308 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.01714, allocations: 5.656 kB / 0.5308 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.01714, allocations: 0 / 0.5308 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.01718, allocations: 27.91 kB / 0.5308 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01718, allocations: 0 / 0.5308 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01719, allocations: 5.375 kB / 0.5308 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.01777, allocations: 468.2 kB / 0.5313 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.01799, allocations: 121.5 kB / 0.5314 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.01806, allocations: 19.92 kB / 0.5314 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.0183, allocations: 15.98 kB / 0.5314 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.01833, allocations: 11.98 kB / 0.5314 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.0184, allocations: 59.97 kB / 0.5315 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002304/0.01863, allocations: 272.7 kB / 0.5318 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01863, allocations: 0 / 0.5318 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003953/0.01903, allocations: 71.98 kB / 0.5318 GB, free: 6.023 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.0001544/0.01918, allocations: 119.2 kB / 0.5319 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006421/0.01983, allocations: 437.8 kB / 0.5324 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01983, allocations: 0 / 0.5324 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.02, allocations: 83.36 kB / 0.5324 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.02042, allocations: 49.61 kB / 0.5325 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02143, allocations: 484.3 kB / 0.5329 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.02149, allocations: 83.81 kB / 0.533 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.228e-05/0.02155, allocations: 15.52 kB / 0.533 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.02159, allocations: 20.5 kB / 0.5331 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.02159, allocations: 0 / 0.5331 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of Templates: time 0.01078/0.03237, allocations: 6.567 MB / 0.5395 GB, free: 14.18 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: 3.8695132709108293]