Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.001854/0.001854, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002195/0.002195, allocations: 210 kB / 22.99 MB, free: 4.605 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 0.9815/0.9815, allocations: 149.9 MB / 463 MB, free: 10.32 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.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") [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.002371/0.002371, allocations: 74.77 kB / 0.6415 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2473, allocations: 89.17 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003968/0.2513, allocations: 1.51 MB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2532, allocations: 0.533 MB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2534, allocations: 0 / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2535, allocations: 7.875 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2537, allocations: 31.84 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2553, allocations: 313.7 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.2561, allocations: 487.4 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.2562, allocations: 4 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.2568, allocations: 287.6 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.2572, allocations: 131.7 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.2573, allocations: 28 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.2574, allocations: 24 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.2576, allocations: 119.6 kB / 0.732 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.2578, allocations: 151.3 kB / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.2583, allocations: 426.4 kB / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2583, allocations: 0 / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2583, allocations: 0 / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2583, allocations: 4 kB / 0.7325 GB, free: 12.51 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.001451/0.2598, allocations: 0.8066 MB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2598, allocations: 8.031 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.26, allocations: 52.7 kB / 0.7334 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.2605, allocations: 260.7 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.2605, allocations: 20.36 kB / 0.7336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.2606, allocations: 24.38 kB / 0.7337 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.2615, allocations: 218 kB / 0.7339 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2615, allocations: 192 / 0.7339 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.2616, allocations: 3.938 kB / 0.7339 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2616, allocations: 0 / 0.7339 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.2623, allocations: 111.8 kB / 0.734 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.2627, allocations: 281 kB / 0.7342 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.2637, allocations: 162.6 kB / 0.7344 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.2644, allocations: 105 kB / 0.7345 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.2644, allocations: 7.984 kB / 0.7345 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009532/0.2654, allocations: 224.5 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.2654, allocations: 0 / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002455/0.2678, allocations: 495.5 kB / 0.7352 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.2679, allocations: 63.39 kB / 0.7352 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.2684, allocations: 413.9 kB / 0.7356 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.2684, allocations: 41.7 kB / 0.7357 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.2685, allocations: 93.44 kB / 0.7358 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.2686, allocations: 39.69 kB / 0.7358 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.2688, allocations: 129.5 kB / 0.7359 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.269, allocations: 326.8 kB / 0.7362 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.2693, allocations: 191.3 kB / 0.7364 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.2697, allocations: 245.3 kB / 0.7367 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.2701, allocations: 267.5 kB / 0.7369 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2701, allocations: 0 / 0.7369 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008981/0.271, allocations: 0.5527 MB / 0.7375 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.2711, allocations: 83.36 kB / 0.7375 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2711, allocations: 4 kB / 0.7375 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2711, allocations: 7.875 kB / 0.7375 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2713, allocations: 23.98 kB / 0.7376 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2713, allocations: 7.938 kB / 0.7376 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.2718, allocations: 60.03 kB / 0.7376 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.2718, allocations: 63.91 kB / 0.7377 GB, free: 6.875 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0002614/0.2721, allocations: 187.8 kB / 0.7379 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.2722, allocations: 39.72 kB / 0.7379 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.2722, allocations: 43.62 kB / 0.738 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2723, allocations: 7.984 kB / 0.738 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2723, allocations: 0 / 0.738 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2723, allocations: 0 / 0.738 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.2744, allocations: 0.6777 MB / 0.7386 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.2744, allocations: 3.938 kB / 0.7386 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.2745, allocations: 4 kB / 0.7386 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2745, allocations: 4 kB / 0.7386 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.2745, allocations: 23.97 kB / 0.7387 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.2745, allocations: 11.94 kB / 0.7387 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.2745, allocations: 0 / 0.7387 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.2762, allocations: 475.5 kB / 0.7391 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.2765, allocations: 133.5 kB / 0.7393 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.2766, allocations: 15.94 kB / 0.7393 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.277, allocations: 31.97 kB / 0.7393 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.277, allocations: 11.92 kB / 0.7393 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.2771, allocations: 59.97 kB / 0.7394 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003493/0.2775, allocations: 295.1 kB / 0.7396 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2775, allocations: 0 / 0.7396 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003725/0.2778, allocations: 67.98 kB / 0.7397 GB, free: 4.75 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001792/0.278, allocations: 120.1 kB / 0.7398 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.2793, allocations: 477 kB / 0.7403 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2793, allocations: 0 / 0.7403 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.2801, allocations: 108.2 kB / 0.7404 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2804, allocations: 37.56 kB / 0.7404 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.282, allocations: 0.5508 MB / 0.741 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2822, allocations: 163 kB / 0.7411 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.863e-05/0.2822, allocations: 17.08 kB / 0.7411 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.2823, allocations: 15.44 kB / 0.7411 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2823, allocations: 0 / 0.7411 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.01148/0.2938, allocations: 6.042 MB / 0.747 GB, free: 13.12 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.748990394175053] Failed to read output from testmodel.py, exit status != 0: 0.3051306065171957 0.764032963 0.05850259000000001 Calling exit ...