Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001544/0.001544, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001694/0.001694, allocations: 174.4 kB / 22.46 MB, free: 5.355 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.389/1.389, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002436/0.002436, allocations: 252 kB / 259.4 MB, free: 480 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.045/1.045, allocations: 138.4 MB / 454.3 MB, free: 2.059 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6467 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.561e-05, allocations: 6.219 kB / 0.6467 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002644/0.00267, allocations: 1.527 MB / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004101, allocations: 0.5301 MB / 0.6488 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.004174, allocations: 8 kB / 0.6488 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.039e-05/0.004265, allocations: 7.922 kB / 0.6488 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.004377, allocations: 23.88 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.005265, allocations: 326.3 kB / 0.6491 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.005896, allocations: 491.3 kB / 0.6496 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.005939, allocations: 4 kB / 0.6496 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.006528, allocations: 355.6 kB / 0.6499 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.006871, allocations: 139.7 kB / 0.6501 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.006988, allocations: 24 kB / 0.6501 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.007087, allocations: 28 kB / 0.6501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.007233, allocations: 115.7 kB / 0.6502 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.007419, allocations: 135.7 kB / 0.6503 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.007976, allocations: 458.7 kB / 0.6508 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.007978, allocations: 0 / 0.6508 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007979, allocations: 0 / 0.6508 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.00799, allocations: 0 / 0.6508 GB, free: 0.9531 MB / 0.5606 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.001344/0.009335, allocations: 0.799 MB / 0.6516 GB, free: 84 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.009369, allocations: 9.344 kB / 0.6516 GB, free: 76 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.009496, allocations: 52.7 kB / 0.6516 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2408/0.2503, allocations: 254.5 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.2504, allocations: 18.55 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.2505, allocations: 27.33 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.2515, allocations: 227.2 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2515, allocations: 192 / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.2515, allocations: 3.922 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2515, allocations: 4.594 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.2523, allocations: 114.2 kB / 0.6522 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.2526, allocations: 292.4 kB / 0.6525 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2537, allocations: 184.7 kB / 0.6527 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.2544, allocations: 118.4 kB / 0.6528 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.2545, allocations: 3.406 kB / 0.6528 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009306/0.2554, allocations: 236 kB / 0.653 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.2554, allocations: 0 / 0.653 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002488/0.2579, allocations: 0.5222 MB / 0.6535 GB, free: 56.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2579, allocations: 56.62 kB / 0.6536 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.2582, allocations: 416.3 kB / 0.654 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.2583, allocations: 43.67 kB / 0.654 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.2583, allocations: 96.55 kB / 0.6541 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.2583, allocations: 36.05 kB / 0.6542 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.2585, allocations: 129.9 kB / 0.6543 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.2585, allocations: 331.3 kB / 0.6546 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.2588, allocations: 197 kB / 0.6548 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.2591, allocations: 242.2 kB / 0.655 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2594, allocations: 278.2 kB / 0.6553 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2594, allocations: 0.6562 kB / 0.6553 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006894/0.26, allocations: 0.556 MB / 0.6558 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.2601, allocations: 79.64 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2601, allocations: 6.562 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2601, allocations: 0 / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2603, allocations: 30.78 kB / 0.6559 GB, free: 55.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2603, allocations: 3.469 kB / 0.6559 GB, free: 55.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.2607, allocations: 69.17 kB / 0.656 GB, free: 55.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.2608, allocations: 60.36 kB / 0.6561 GB, free: 55.23 MB / 0.5606 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.000165/0.261, allocations: 202.2 kB / 0.6563 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.261, allocations: 42.47 kB / 0.6563 GB, free: 55.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.2611, allocations: 40.86 kB / 0.6563 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2611, allocations: 2.5 kB / 0.6563 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2611, allocations: 0 / 0.6563 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2611, allocations: 0 / 0.6563 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2631, allocations: 0.7173 MB / 0.657 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2631, allocations: 0 / 0.657 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.2631, allocations: 3.375 kB / 0.657 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2631, allocations: 4.734 kB / 0.6571 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2632, allocations: 24.52 kB / 0.6571 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2632, allocations: 3.344 kB / 0.6571 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2632, allocations: 4.969 kB / 0.6571 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.2648, allocations: 0.5031 MB / 0.6576 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.265, allocations: 130.9 kB / 0.6577 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.2651, allocations: 10.5 kB / 0.6577 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.2656, allocations: 42.5 kB / 0.6578 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.2656, allocations: 10.66 kB / 0.6578 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.2657, allocations: 59.17 kB / 0.6578 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002019/0.2659, allocations: 299.2 kB / 0.6581 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2659, allocations: 0 / 0.6581 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003146/0.2662, allocations: 65.66 kB / 0.6582 GB, free: 54.3 MB / 0.5606 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.0001179/0.2663, allocations: 118.2 kB / 0.6583 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.2675, allocations: 494 kB / 0.6587 GB, free: 53.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2675, allocations: 0.5469 kB / 0.6587 GB, free: 53.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.2682, allocations: 127 kB / 0.6589 GB, free: 53.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2686, allocations: 35.02 kB / 0.6589 GB, free: 53.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2699, allocations: 0.5683 MB / 0.6595 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.27, allocations: 158.6 kB / 0.6596 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.27, allocations: 16.27 kB / 0.6596 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.2701, allocations: 22.25 kB / 0.6596 GB, free: 53.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2701, allocations: 0 / 0.6596 GB, free: 53.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.007927/0.278, allocations: 5.972 MB / 0.6655 GB, free: 52.3 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.673031527549028] Failed to read output from testmodel.py, exit status != 0: 0.2854389548301697 0.29585782299999996 0.28543828999999993 Calling exit ...