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.001808/0.001808, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002137/0.002137, allocations: 159.5 kB / 22.45 MB, free: 5.375 MB / 14.72 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.48/1.48, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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-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 1.196/1.196, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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.773e-06/1.773e-06, allocations: 0 / 0.6185 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.104e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002788/0.002819, allocations: 1.522 MB / 0.62 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004119, allocations: 0.5299 MB / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.004172, allocations: 0 / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.656e-05/0.004269, allocations: 13.23 kB / 0.6205 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.004389, allocations: 35.56 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.005213, allocations: 320 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005707/0.005784, allocations: 495.4 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.005824, allocations: 7.969 kB / 0.6214 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.006331, allocations: 351.7 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.006604, allocations: 128.2 kB / 0.6218 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.00671, allocations: 32 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.006801, allocations: 24 kB / 0.6219 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.006948, allocations: 119.6 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.007136, allocations: 127.7 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.007691, allocations: 466.8 kB / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.007694, allocations: 0 / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.02e-07/0.007694, allocations: 3.938 kB / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.007704, allocations: 0 / 0.6226 GB, free: 460 kB / 0.5294 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.001277/0.008981, allocations: 0.7949 MB / 0.6233 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.009021, allocations: 16.03 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.009139, allocations: 52.69 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.009538, allocations: 252 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.009588, allocations: 20.36 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.009668, allocations: 28.36 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.01068, allocations: 222 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.01069, allocations: 192 / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.01072, allocations: 8.359 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01073, allocations: 8.375 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.01152, allocations: 115.8 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.01191, allocations: 281.1 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.01303, allocations: 182.5 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007805/0.01381, allocations: 116.8 kB / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.01383, allocations: 0 / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.01483, allocations: 247 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.01483, allocations: 0 / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002685/0.01752, allocations: 0.5234 MB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.01757, allocations: 63.38 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.01802, allocations: 417.8 kB / 0.6258 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.01808, allocations: 41.69 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.01816, allocations: 93.45 kB / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.01827, allocations: 43.69 kB / 0.626 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.01847, allocations: 121.5 kB / 0.6261 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.01863, allocations: 326.8 kB / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.01896, allocations: 195.2 kB / 0.6266 GB, free: 12.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.01934, allocations: 247.4 kB / 0.6268 GB, free: 11.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.01974, allocations: 275 kB / 0.6271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01975, allocations: 0 / 0.6271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009411/0.02069, allocations: 0.5648 MB / 0.6276 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.792e-05/0.02078, allocations: 87.56 kB / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02078, allocations: 4 kB / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.0208, allocations: 0 / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.02096, allocations: 19.98 kB / 0.6277 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.02098, allocations: 15.86 kB / 0.6277 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.02147, allocations: 71.84 kB / 0.6278 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.02158, allocations: 55.98 kB / 0.6279 GB, free: 10.7 MB / 0.545 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.0002436/0.02182, allocations: 198.8 kB / 0.6281 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.02189, allocations: 35.77 kB / 0.6281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.89e-05/0.02197, allocations: 43.61 kB / 0.6281 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02197, allocations: 4 kB / 0.6281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.02198, allocations: 3.938 kB / 0.6281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.02198, allocations: 3.938 kB / 0.6281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.02438, allocations: 0.7093 MB / 0.6288 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.02439, allocations: 4 kB / 0.6288 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.02443, allocations: 7.922 kB / 0.6288 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.02443, allocations: 4 kB / 0.6289 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.02448, allocations: 27.91 kB / 0.6289 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02448, allocations: 0 / 0.6289 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02448, allocations: 0 / 0.6289 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.02629, allocations: 0.4918 MB / 0.6294 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.02655, allocations: 137.5 kB / 0.6295 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.02663, allocations: 15.94 kB / 0.6295 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.02711, allocations: 39.95 kB / 0.6295 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.02715, allocations: 7.984 kB / 0.6296 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/0.02724, allocations: 63.97 kB / 0.6296 GB, free: 8.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003165/0.02755, allocations: 299.1 kB / 0.6299 GB, free: 8.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02755, allocations: 0 / 0.6299 GB, free: 8.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003228/0.02788, allocations: 60 kB / 0.63 GB, free: 8.496 MB / 0.545 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.0001767/0.02805, allocations: 117.2 kB / 0.6301 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.02941, allocations: 493 kB / 0.6305 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02942, allocations: 3.938 kB / 0.6305 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.03021, allocations: 123.8 kB / 0.6307 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.0306, allocations: 31.7 kB / 0.6307 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.03211, allocations: 0.5736 MB / 0.6312 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.03229, allocations: 163 kB / 0.6314 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.621e-05/0.03235, allocations: 13.14 kB / 0.6314 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.03239, allocations: 20.5 kB / 0.6314 GB, free: 6.895 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.0324, allocations: 0 / 0.6314 GB, free: 6.895 MB / 0.545 GB Notification: Performance of Templates: time 0.01113/0.04352, allocations: 5.958 MB / 0.6373 GB, free: 0.9141 MB / 0.545 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.9446906670928] Failed to read output from testmodel.py, exit status != 0: 0.05211104825139046 0.066134073 0.055477436000000005 Calling exit ...