Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009148/0.0009148, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009061/0.0009061, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9537/0.9537, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6342/0.6342, allocations: 115 MB / 375.7 MB, free: 7.648 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.688e-05, allocations: 2.938 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001606/0.001623, allocations: 1.551 MB / 483 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.002472, allocations: 0.541 MB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.002524, allocations: 0 / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.002618, allocations: 11.2 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.002729, allocations: 28.23 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.003379, allocations: 322.2 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.003765, allocations: 487.3 kB / 484.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.003803, allocations: 5.125 kB / 484.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.004169, allocations: 354.3 kB / 484.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.004377, allocations: 130.1 kB / 484.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.004443, allocations: 26.66 kB / 484.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.004503, allocations: 27.62 kB / 484.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.004596, allocations: 112.7 kB / 485 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.004711, allocations: 136.4 kB / 485.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.005009, allocations: 379.4 kB / 485.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005011, allocations: 0.5 kB / 485.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005012, allocations: 0 / 485.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.005019, allocations: 0.5312 kB / 485.5 MB, free: 9.715 MB / 410.7 MB 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.0007834/0.005802, allocations: 0.9094 MB / 486.4 MB, free: 8.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.005837, allocations: 9.875 kB / 486.4 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.005951, allocations: 63.23 kB / 486.5 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.006192, allocations: 248.4 kB / 486.7 MB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.006227, allocations: 20.39 kB / 486.8 MB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.006279, allocations: 33.83 kB / 486.8 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.006625, allocations: 202.2 kB / 487 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.006634, allocations: 5.531 kB / 487 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.006654, allocations: 8.984 kB / 487 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.006662, allocations: 1.875 kB / 487 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.006767, allocations: 55.22 kB / 487.1 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.007045, allocations: 311.1 kB / 487.4 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.007249, allocations: 124.7 kB / 487.5 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.007352, allocations: 67.73 kB / 487.6 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.007378, allocations: 3.656 kB / 487.6 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.00758, allocations: 187.6 kB / 487.7 MB, free: 8.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.007581, allocations: 2.562 kB / 487.7 MB, free: 8.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005534/0.008134, allocations: 374.9 kB / 488.1 MB, free: 8.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.008161, allocations: 62.34 kB / 488.2 MB, free: 8.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.008409, allocations: 423.3 kB / 488.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.00844, allocations: 43.69 kB / 488.6 MB, free: 7.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.008606, allocations: 142.7 kB / 488.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.008638, allocations: 42.16 kB / 488.8 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.008765, allocations: 131 kB / 488.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.008877, allocations: 0.4942 MB / 489.4 MB, free: 23.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.009081, allocations: 173.8 kB / 489.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.009276, allocations: 245.9 kB / 489.8 MB, free: 22.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.009494, allocations: 282 kB / 490.1 MB, free: 22.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.009497, allocations: 0 / 490.1 MB, free: 22.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005716/0.01007, allocations: 0.5577 MB / 490.7 MB, free: 22.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.01011, allocations: 84.59 kB / 490.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01012, allocations: 6.281 kB / 490.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01014, allocations: 2.188 kB / 490.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01027, allocations: 34.38 kB / 490.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.01028, allocations: 10.56 kB / 490.8 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.01046, allocations: 41.19 kB / 490.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.01053, allocations: 68.14 kB / 490.9 MB, free: 22.34 MB / 426.7 MB 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.0001223/0.01065, allocations: 191.4 kB / 491.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.0107, allocations: 51.81 kB / 491.2 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.01075, allocations: 33.62 kB / 491.2 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01075, allocations: 1.25 kB / 491.2 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01075, allocations: 0.8125 kB / 491.2 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01076, allocations: 5.375 kB / 491.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.01147, allocations: 0.6703 MB / 491.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01147, allocations: 1.031 kB / 491.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.0115, allocations: 7.156 kB / 491.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01151, allocations: 2.094 kB / 491.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.01153, allocations: 28.44 kB / 491.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01154, allocations: 3.938 kB / 491.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01154, allocations: 2.438 kB / 491.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.01197, allocations: 462 kB / 492.4 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.01212, allocations: 121.6 kB / 492.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.01216, allocations: 16.28 kB / 492.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.01231, allocations: 24.28 kB / 492.5 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.01234, allocations: 6.422 kB / 492.5 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.01239, allocations: 56.98 kB / 492.6 MB, free: 21.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.01257, allocations: 276.9 kB / 492.9 MB, free: 21.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01257, allocations: 2.438 kB / 492.9 MB, free: 21.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.01282, allocations: 66.44 kB / 492.9 MB, free: 21.25 MB / 426.7 MB 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.245e-05/0.01291, allocations: 116.1 kB / 493 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.01338, allocations: 432.9 kB / 493.5 MB, free: 20.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01338, allocations: 1.062 kB / 493.5 MB, free: 20.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.01351, allocations: 87.16 kB / 493.5 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01377, allocations: 54.84 kB / 493.6 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.0146, allocations: 483.9 kB / 494.1 MB, free: 20.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.01465, allocations: 86.42 kB / 494.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.01469, allocations: 14.8 kB / 494.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.01473, allocations: 15.38 kB / 494.2 MB, free: 20.49 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01473, allocations: 2.062 kB / 494.2 MB, free: 20.49 MB / 426.7 MB Notification: Performance of Templates: time 0.009034/0.02376, allocations: 5.958 MB / 0.4884 GB, free: 19.27 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7997227357700467]