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.0008356/0.0008356, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007864/0.0007864, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8577/0.8577, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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-531:686: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-531:694: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 0.6852/0.6852, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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 179] 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.573e-06/1.573e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.264e-05, allocations: 4.797 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001748/0.00177, allocations: 1.517 MB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.002627, allocations: 0.5304 MB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.002687, allocations: 0 / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.823e-05/0.002776, allocations: 15.86 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.829e-05/0.002874, allocations: 31.58 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.003504, allocations: 325.5 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.003886, allocations: 487.4 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.003925, allocations: 3.984 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.004256, allocations: 355.6 kB / 0.6224 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.004457, allocations: 127.7 kB / 0.6226 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.004504, allocations: 28 kB / 0.6226 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.004541, allocations: 27.94 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.00463, allocations: 115.7 kB / 0.6227 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.004726, allocations: 131.7 kB / 0.6229 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.005056, allocations: 462.8 kB / 0.6233 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005058, allocations: 4 kB / 0.6233 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005059, allocations: 0 / 0.6233 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.005064, allocations: 0 / 0.6233 GB, free: 9.098 MB / 0.5886 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.000813/0.005877, allocations: 0.8028 MB / 0.6241 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.00591, allocations: 12.03 kB / 0.6241 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.08e-05/0.005991, allocations: 52.69 kB / 0.6241 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.006238, allocations: 252 kB / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.006276, allocations: 20.36 kB / 0.6244 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.006322, allocations: 36.3 kB / 0.6244 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.006832, allocations: 229.9 kB / 0.6247 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.00684, allocations: 192 / 0.6247 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.006859, allocations: 8.359 kB / 0.6247 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.006864, allocations: 4.375 kB / 0.6247 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.007214, allocations: 115.9 kB / 0.6248 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.007462, allocations: 277.1 kB / 0.625 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.007955, allocations: 182.5 kB / 0.6252 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.008297, allocations: 123.7 kB / 0.6253 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.008317, allocations: 0 / 0.6253 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004561/0.008773, allocations: 239.1 kB / 0.6256 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.083e-06/0.008774, allocations: 4 kB / 0.6256 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001215/0.00999, allocations: 0.5206 MB / 0.6261 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.01003, allocations: 59.39 kB / 0.6261 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.01029, allocations: 413.9 kB / 0.6265 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.01032, allocations: 41.69 kB / 0.6266 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.01037, allocations: 97.45 kB / 0.6267 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.0104, allocations: 35.69 kB / 0.6267 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.01051, allocations: 133.4 kB / 0.6268 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.01059, allocations: 318.8 kB / 0.6271 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.01079, allocations: 203.2 kB / 0.6273 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.01099, allocations: 241.3 kB / 0.6276 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.01122, allocations: 282.6 kB / 0.6278 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01123, allocations: 3.938 kB / 0.6278 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005184/0.01174, allocations: 0.5625 MB / 0.6284 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.0118, allocations: 79.38 kB / 0.6285 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.0118, allocations: 4 kB / 0.6285 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01181, allocations: 0 / 0.6285 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.01191, allocations: 31.86 kB / 0.6285 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.01192, allocations: 16.11 kB / 0.6285 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.01214, allocations: 59.91 kB / 0.6286 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.0122, allocations: 55.98 kB / 0.6286 GB, free: 3.34 MB / 0.5886 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.0001439/0.01235, allocations: 202.6 kB / 0.6288 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.01238, allocations: 39.75 kB / 0.6288 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.01242, allocations: 39.67 kB / 0.6289 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01243, allocations: 4 kB / 0.6289 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01243, allocations: 4 kB / 0.6289 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01243, allocations: 3.938 kB / 0.6289 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.01354, allocations: 0.705 MB / 0.6296 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01354, allocations: 0 / 0.6296 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.01356, allocations: 7.984 kB / 0.6296 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01357, allocations: 8 kB / 0.6296 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.01359, allocations: 27.91 kB / 0.6296 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01359, allocations: 3.938 kB / 0.6296 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01359, allocations: 0 / 0.6296 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.01442, allocations: 0.4918 MB / 0.6301 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.01459, allocations: 137.5 kB / 0.6302 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.01463, allocations: 15.94 kB / 0.6303 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.01485, allocations: 39.95 kB / 0.6303 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.01487, allocations: 11.92 kB / 0.6303 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.01491, allocations: 59.97 kB / 0.6304 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001809/0.0151, allocations: 295.1 kB / 0.6306 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0151, allocations: 0 / 0.6306 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002308/0.01533, allocations: 64 kB / 0.6307 GB, free: 1.133 MB / 0.5886 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.0001009/0.01543, allocations: 117.2 kB / 0.6308 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006835/0.01611, allocations: 496.4 kB / 0.6313 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01611, allocations: 0 / 0.6313 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.01646, allocations: 128.2 kB / 0.6314 GB, free: 376 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.0167, allocations: 31.67 kB / 0.6314 GB, free: 344 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.01753, allocations: 0.6026 MB / 0.632 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.01764, allocations: 163 kB / 0.6322 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.01767, allocations: 20.48 kB / 0.6322 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.01767, allocations: 0 / 0.6322 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.003879/0.02155, allocations: 3.736 MB / 0.6359 GB, free: 11.75 MB / 0.6042 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: 5.026915536262095] Failed to read output from testmodel.py, exit status != 0: 0.027144682593643665 0.034645242 0.028060793 Calling exit ...