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.001685/0.001685, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002498/0.002498, allocations: 221.1 kB / 23 MB, free: 4.973 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.627/1.627, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.001/1.001, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA 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.002074/0.002074, allocations: 70.64 kB / 0.6415 GB, free: 9.703 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.24, allocations: 89.17 MB / 0.7286 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003233/0.2433, allocations: 1.514 MB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2448, allocations: 0.5344 MB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.2448, allocations: 0 / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.245, allocations: 11.92 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.2451, allocations: 31.8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.246, allocations: 311.3 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.2466, allocations: 479.5 kB / 0.7314 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.2466, allocations: 4 kB / 0.7314 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.2471, allocations: 283.6 kB / 0.7317 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.2474, allocations: 142.6 kB / 0.7318 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2475, allocations: 28 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.2476, allocations: 24 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.2477, allocations: 111.7 kB / 0.732 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.2479, allocations: 159.2 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.2485, allocations: 430.4 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2485, allocations: 0 / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2485, allocations: 0 / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.2485, allocations: 0 / 0.7325 GB, free: 12.57 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.001452/0.25, allocations: 0.8028 MB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.25, allocations: 8.031 kB / 0.7333 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2501, allocations: 48.7 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.2506, allocations: 272.6 kB / 0.7336 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.2507, allocations: 24.3 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.2508, allocations: 28.38 kB / 0.7337 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.2518, allocations: 214 kB / 0.7339 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2518, allocations: 192 / 0.7339 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.2518, allocations: 3.938 kB / 0.7339 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2518, allocations: 0 / 0.7339 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.2525, allocations: 95.92 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.253, allocations: 281.1 kB / 0.7342 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.254, allocations: 170.4 kB / 0.7344 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.2547, allocations: 104.7 kB / 0.7345 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2548, allocations: 7.922 kB / 0.7345 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.2558, allocations: 225.3 kB / 0.7347 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.2558, allocations: 0 / 0.7347 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002529/0.2583, allocations: 497 kB / 0.7352 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.2584, allocations: 59.41 kB / 0.7352 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.2589, allocations: 413.9 kB / 0.7356 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.259, allocations: 37.7 kB / 0.7357 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2591, allocations: 97.44 kB / 0.7358 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.2591, allocations: 43.67 kB / 0.7358 GB, free: 9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.2594, allocations: 129.5 kB / 0.7359 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2596, allocations: 326.8 kB / 0.7362 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.2599, allocations: 187.3 kB / 0.7364 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.2603, allocations: 245.3 kB / 0.7367 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.2608, allocations: 261.2 kB / 0.7369 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2608, allocations: 0 / 0.7369 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001092/0.2619, allocations: 0.5522 MB / 0.7374 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/0.2619, allocations: 79.38 kB / 0.7375 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.262, allocations: 7.984 kB / 0.7375 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.262, allocations: 7.938 kB / 0.7375 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2622, allocations: 19.92 kB / 0.7376 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2622, allocations: 4 kB / 0.7376 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.2626, allocations: 63.97 kB / 0.7376 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.2627, allocations: 63.98 kB / 0.7377 GB, free: 6.945 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.0002849/0.263, allocations: 197.7 kB / 0.7379 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.2631, allocations: 39.72 kB / 0.7379 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.2632, allocations: 43.62 kB / 0.738 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2632, allocations: 4 kB / 0.738 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2632, allocations: 0 / 0.738 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.2632, allocations: 7.969 kB / 0.738 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.2655, allocations: 0.6802 MB / 0.7386 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2655, allocations: 7.938 kB / 0.7386 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.2655, allocations: 4 kB / 0.7386 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2655, allocations: 3.938 kB / 0.7386 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.2656, allocations: 19.97 kB / 0.7387 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2656, allocations: 0 / 0.7387 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2656, allocations: 4 kB / 0.7387 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.2673, allocations: 483.4 kB / 0.7391 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.2676, allocations: 133.5 kB / 0.7393 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.2677, allocations: 12 kB / 0.7393 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.2681, allocations: 27.97 kB / 0.7393 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2682, allocations: 11.98 kB / 0.7393 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/0.2683, allocations: 59.97 kB / 0.7394 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003664/0.2686, allocations: 295.1 kB / 0.7396 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2686, allocations: 0 / 0.7396 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00045/0.2691, allocations: 67.92 kB / 0.7397 GB, free: 4.812 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.0001939/0.2693, allocations: 120.9 kB / 0.7398 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.2706, allocations: 476.8 kB / 0.7403 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2706, allocations: 0 / 0.7403 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.2713, allocations: 111.9 kB / 0.7404 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.2717, allocations: 28.73 kB / 0.7404 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2733, allocations: 0.5586 MB / 0.741 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2736, allocations: 163 kB / 0.7411 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.58e-05/0.2737, allocations: 5.094 kB / 0.7411 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.2737, allocations: 23.42 kB / 0.7411 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.2737, allocations: 0 / 0.7411 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of Templates: time 0.01245/0.2862, allocations: 6.12 MB / 0.7471 GB, free: 13.1 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.881049573421478] Failed to read output from testmodel.py, exit status != 0: 0.29626008309423923 0.754251397 0.06299010699999995 Calling exit ...