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.001013/0.001013, allocations: 100.4 kB / 19.71 MB, free: 444 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.0009358/0.0009358, allocations: 210.9 kB / 23 MB, free: 2.977 MB / 13.93 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.9203/0.9203, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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-531:190: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-531:198: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.76/0.76, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008312/0.0008312, allocations: 64.72 kB / 0.7194 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4681, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001835/0.4699, allocations: 1.519 MB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.4709, allocations: 0.5285 MB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.4709, allocations: 5.188 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.471, allocations: 13.8 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.4711, allocations: 31.11 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.4718, allocations: 308.7 kB / 0.8213 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.4722, allocations: 491.3 kB / 0.8218 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.4722, allocations: 6.422 kB / 0.8218 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.4725, allocations: 273.1 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.4727, allocations: 142.4 kB / 0.8222 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.4728, allocations: 26.59 kB / 0.8222 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.4728, allocations: 25.81 kB / 0.8222 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.473, allocations: 122.8 kB / 0.8224 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.4731, allocations: 152.5 kB / 0.8225 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.4736, allocations: 429.2 kB / 0.8229 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4736, allocations: 1.156 kB / 0.8229 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4736, allocations: 0 / 0.8229 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4736, allocations: 0 / 0.8229 GB, free: 15.15 MB / 0.6198 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.0009056/0.4745, allocations: 0.7978 MB / 0.8237 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4745, allocations: 10 kB / 0.8237 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.4746, allocations: 52.16 kB / 0.8237 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.4749, allocations: 253.6 kB / 0.824 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.4749, allocations: 18.8 kB / 0.824 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.475, allocations: 32.39 kB / 0.824 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.4756, allocations: 216.6 kB / 0.8242 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4756, allocations: 192 / 0.8242 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4756, allocations: 10.33 kB / 0.8243 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.4756, allocations: 2.844 kB / 0.8243 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.476, allocations: 95.67 kB / 0.8243 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.4763, allocations: 279.6 kB / 0.8246 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.4768, allocations: 167.7 kB / 0.8248 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.4772, allocations: 104.6 kB / 0.8249 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4772, allocations: 2.375 kB / 0.8249 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/0.4778, allocations: 230.6 kB / 0.8251 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.4778, allocations: 0 / 0.8251 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001339/0.4791, allocations: 491 kB / 0.8256 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4791, allocations: 60.8 kB / 0.8256 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.4795, allocations: 412 kB / 0.826 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.4795, allocations: 40.59 kB / 0.8261 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.4796, allocations: 99.2 kB / 0.8261 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.4796, allocations: 37.17 kB / 0.8262 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4797, allocations: 127.6 kB / 0.8263 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.4798, allocations: 321.4 kB / 0.8266 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.48, allocations: 192.9 kB / 0.8268 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.4803, allocations: 252.9 kB / 0.827 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.4806, allocations: 266.5 kB / 0.8273 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4806, allocations: 0 / 0.8273 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005958/0.4811, allocations: 0.5647 MB / 0.8278 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.4812, allocations: 79.7 kB / 0.8279 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4812, allocations: 3.266 kB / 0.8279 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4812, allocations: 6.469 kB / 0.8279 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4813, allocations: 22.48 kB / 0.828 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4813, allocations: 4.766 kB / 0.828 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.4816, allocations: 62.22 kB / 0.828 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.4817, allocations: 65.91 kB / 0.8281 GB, free: 12.05 MB / 0.6198 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.0001612/0.4818, allocations: 193 kB / 0.8283 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.4819, allocations: 37.72 kB / 0.8283 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.4819, allocations: 45.64 kB / 0.8283 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4819, allocations: 1.781 kB / 0.8283 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4819, allocations: 1.469 kB / 0.8283 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4819, allocations: 0.75 kB / 0.8283 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.4833, allocations: 0.6818 MB / 0.829 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4833, allocations: 4.438 kB / 0.829 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.4833, allocations: 4.531 kB / 0.829 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.4833, allocations: 5.172 kB / 0.829 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.4833, allocations: 19.3 kB / 0.829 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4833, allocations: 0.5312 kB / 0.829 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4833, allocations: 0.5625 kB / 0.829 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4844, allocations: 482.5 kB / 0.8295 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.4846, allocations: 141.7 kB / 0.8296 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.4847, allocations: 9.844 kB / 0.8296 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4849, allocations: 32.61 kB / 0.8297 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.485, allocations: 12.44 kB / 0.8297 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.485, allocations: 61.52 kB / 0.8298 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002155/0.4852, allocations: 293.6 kB / 0.83 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4852, allocations: 3.938 kB / 0.83 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000237/0.4855, allocations: 64.75 kB / 0.8301 GB, free: 11.11 MB / 0.6198 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 9.798e-05/0.4856, allocations: 117 kB / 0.8302 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007291/0.4863, allocations: 477.3 kB / 0.8307 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4863, allocations: 0 / 0.8307 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.4867, allocations: 114.8 kB / 0.8308 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.4869, allocations: 29.86 kB / 0.8308 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.4878, allocations: 0.6021 MB / 0.8314 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4879, allocations: 179.9 kB / 0.8316 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.488, allocations: 15.89 kB / 0.8316 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.488, allocations: 0 / 0.8316 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.004229/0.4922, allocations: 3.735 MB / 0.8352 GB, free: 9.273 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.680489369202405] Failed to read output from testmodel.py, exit status != 0: 0.49709254782646894 0.50676327 0.031371047 Calling exit ...