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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9463/0.9463, allocations: 134 MB / 440.3 MB, free: 204 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001945/0.001945, allocations: 71.61 kB / 0.6107 GB, free: 13.67 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1975, allocations: 84.73 MB / 0.6934 GB, free: 9.016 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003235/0.2007, allocations: 1.481 MB / 0.6949 GB, free: 7.52 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001068/0.2018, allocations: 423.4 kB / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.2018, allocations: 0 / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2019, allocations: 15.86 kB / 0.6953 GB, free: 7.086 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2021, allocations: 16.23 kB / 0.6953 GB, free: 7.07 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.2028, allocations: 249.9 kB / 0.6956 GB, free: 6.828 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0004192/0.2033, allocations: 303.5 kB / 0.6959 GB, free: 6.531 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.2033, allocations: 11.98 kB / 0.6959 GB, free: 6.52 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.2036, allocations: 191.7 kB / 0.696 GB, free: 6.332 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.2038, allocations: 120 kB / 0.6962 GB, free: 6.215 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.2039, allocations: 20 kB / 0.6962 GB, free: 6.195 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.204, allocations: 16 kB / 0.6962 GB, free: 6.18 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.2041, allocations: 75.72 kB / 0.6963 GB, free: 6.105 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2043, allocations: 127.4 kB / 0.6964 GB, free: 5.98 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.2047, allocations: 282.9 kB / 0.6967 GB, free: 5.703 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2047, allocations: 0 / 0.6967 GB, free: 5.703 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.123e-06/0.2047, allocations: 4 kB / 0.6967 GB, free: 5.699 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 6.372e-06/0.2047, allocations: 3.938 kB / 0.6967 GB, free: 5.695 MB / 0.5137 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.00135/0.206, allocations: 0.6361 MB / 0.6973 GB, free: 5.004 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2061, allocations: 12.03 kB / 0.6973 GB, free: 4.992 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.2062, allocations: 28.8 kB / 0.6973 GB, free: 4.965 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.2065, allocations: 206.6 kB / 0.6975 GB, free: 4.742 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.2066, allocations: 12.38 kB / 0.6975 GB, free: 4.73 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.2066, allocations: 31.92 kB / 0.6976 GB, free: 4.699 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.207, allocations: 144.8 kB / 0.6977 GB, free: 4.555 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.207, allocations: 0 / 0.6977 GB, free: 4.555 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.207, allocations: 4 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.207, allocations: 0 / 0.6977 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2071, allocations: 55.91 kB / 0.6978 GB, free: 4.496 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.2075, allocations: 280.5 kB / 0.698 GB, free: 4.18 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.2079, allocations: 114.7 kB / 0.6981 GB, free: 4.059 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.208, allocations: 48.83 kB / 0.6982 GB, free: 4.008 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.208, allocations: 7.938 kB / 0.6982 GB, free: 4 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.2085, allocations: 227.4 kB / 0.6984 GB, free: 3.766 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.2085, allocations: 0 / 0.6984 GB, free: 3.766 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=18): time 0.000714/0.2092, allocations: 272.1 kB / 0.6987 GB, free: 3.496 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.2093, allocations: 63.39 kB / 0.6987 GB, free: 3.422 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.2096, allocations: 288.2 kB / 0.699 GB, free: 3.125 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.2097, allocations: 41.7 kB / 0.699 GB, free: 3.078 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.2097, allocations: 93.12 kB / 0.6991 GB, free: 2.984 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.2098, allocations: 55.61 kB / 0.6992 GB, free: 2.93 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.21, allocations: 101.8 kB / 0.6993 GB, free: 2.82 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001549/0.2101, allocations: 322.8 kB / 0.6996 GB, free: 2.496 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.2104, allocations: 96.17 kB / 0.6997 GB, free: 2.402 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.2107, allocations: 142.4 kB / 0.6998 GB, free: 2.242 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.211, allocations: 247.4 kB / 0.7001 GB, free: 1.969 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.211, allocations: 4 kB / 0.7001 GB, free: 1.965 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.000757/0.2118, allocations: 410.6 kB / 0.7004 GB, free: 1.547 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.2119, allocations: 75.38 kB / 0.7005 GB, free: 1.461 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2119, allocations: 3.938 kB / 0.7005 GB, free: 1.457 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2119, allocations: 4 kB / 0.7005 GB, free: 1.453 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.2121, allocations: 27.92 kB / 0.7006 GB, free: 1.426 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2121, allocations: 11.97 kB / 0.7006 GB, free: 1.414 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.2126, allocations: 64.03 kB / 0.7006 GB, free: 1.352 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.2127, allocations: 51.92 kB / 0.7007 GB, free: 1.301 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (28):
 * Single equations (assignments): 26
 * 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.0002037/0.2129, allocations: 175.5 kB / 0.7008 GB, free: 1.121 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.213, allocations: 31.75 kB / 0.7009 GB, free: 1.09 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.2131, allocations: 30.19 kB / 0.7009 GB, free: 1.062 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2131, allocations: 4 kB / 0.7009 GB, free: 1.059 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2131, allocations: 0 / 0.7009 GB, free: 1.059 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2131, allocations: 3.984 kB / 0.7009 GB, free: 1.055 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.214, allocations: 0.5324 MB / 0.7014 GB, free: 484 kB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.214, allocations: 0 / 0.7014 GB, free: 484 kB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.214, allocations: 8 kB / 0.7014 GB, free: 476 kB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.214, allocations: 0 / 0.7014 GB, free: 476 kB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.214, allocations: 19.97 kB / 0.7015 GB, free: 456 kB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.214, allocations: 0 / 0.7015 GB, free: 456 kB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.214, allocations: 0 / 0.7015 GB, free: 456 kB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.2146, allocations: 337.8 kB / 0.7018 GB, free: 104 kB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.2148, allocations: 77.7 kB / 0.7019 GB, free: 24 kB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.2148, allocations: 15.98 kB / 0.7019 GB, free: 8 kB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2151, allocations: 12.05 kB / 0.7019 GB, free: 15.99 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.2151, allocations: 11.98 kB / 0.7019 GB, free: 15.98 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.2152, allocations: 35.91 kB / 0.7019 GB, free: 15.95 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.0002101/0.2154, allocations: 207.1 kB / 0.7021 GB, free: 15.75 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.2154, allocations: 0 / 0.7021 GB, free: 15.75 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0003364/0.2157, allocations: 51.98 kB / 0.7022 GB, free: 15.7 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (18):
 * Single equations (assignments): 8
 * 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.0001476/0.2159, allocations: 120.9 kB / 0.7023 GB, free: 15.57 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0005711/0.2164, allocations: 310.6 kB / 0.7026 GB, free: 15.24 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2164, allocations: 0 / 0.7026 GB, free: 15.24 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2166, allocations: 63.89 kB / 0.7026 GB, free: 15.18 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2169, allocations: 24.97 kB / 0.7027 GB, free: 15.15 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.2176, allocations: 384 kB / 0.703 GB, free: 14.75 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.2181, allocations: 0.7357 MB / 0.7038 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0001197/0.2182, allocations: 41.42 kB / 0.7038 GB, free: 13.95 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2183, allocations: 35.42 kB / 0.7038 GB, free: 13.91 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.3e-07/0.2183, allocations: 7.938 kB / 0.7038 GB, free: 13.9 MB / 0.5294 GB
Notification: Performance of Templates: time 0.008788/0.2271, allocations: 4.183 MB / 0.7079 GB, free: 9.758 MB / 0.5294 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.1985023226588964]
Failed to read output from testmodel.py, exit status != 0:
0.23510295804589987 0.25359591299999995 0.045497137999999944
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7c382457b0>