Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0007967/0.0007967, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007744/0.0007744, allocations: 177.9 kB / 23.22 MB, free: 1.344 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.817/0.817, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 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.001341/0.001341, allocations: 225.4 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6552/0.6552, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6475 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.8e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.2445/0.2445, allocations: 1.516 MB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.2455, allocations: 0.5374 MB / 0.6495 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.2456, allocations: 0 / 0.6495 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.2457, allocations: 12.84 kB / 0.6495 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2458, allocations: 26.94 kB / 0.6495 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.2464, allocations: 320.3 kB / 0.6498 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2468, allocations: 493.1 kB / 0.6503 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.2468, allocations: 4.234 kB / 0.6503 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.2472, allocations: 355.1 kB / 0.6506 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2474, allocations: 127.4 kB / 0.6508 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2474, allocations: 26.56 kB / 0.6508 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.2475, allocations: 26.78 kB / 0.6508 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2476, allocations: 125.2 kB / 0.6509 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2477, allocations: 131.9 kB / 0.6511 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.248, allocations: 455 kB / 0.6515 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.248, allocations: 1.156 kB / 0.6515 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.248, allocations: 1.594 kB / 0.6515 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2481, allocations: 0 / 0.6515 GB, free: 56.05 MB / 0.5573 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.0007567/0.2488, allocations: 0.8009 MB / 0.6523 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2488, allocations: 10.09 kB / 0.6523 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.2489, allocations: 53.72 kB / 0.6523 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.2492, allocations: 264.8 kB / 0.6526 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.2492, allocations: 18.36 kB / 0.6526 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.2492, allocations: 29.98 kB / 0.6526 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.2497, allocations: 225.1 kB / 0.6529 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2498, allocations: 1.812 kB / 0.6529 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.2498, allocations: 3.953 kB / 0.6529 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2498, allocations: 1.312 kB / 0.6529 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2501, allocations: 120.1 kB / 0.653 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.2504, allocations: 281.4 kB / 0.6532 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.2509, allocations: 184.8 kB / 0.6534 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.2512, allocations: 115.3 kB / 0.6535 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2512, allocations: 4.781 kB / 0.6535 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.2517, allocations: 238.4 kB / 0.6538 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.2517, allocations: 1 kB / 0.6538 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001242/0.2529, allocations: 0.5225 MB / 0.6543 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.253, allocations: 65.59 kB / 0.6543 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.2532, allocations: 415.3 kB / 0.6547 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.2533, allocations: 40.41 kB / 0.6548 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.2533, allocations: 93.78 kB / 0.6549 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2533, allocations: 45.58 kB / 0.6549 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2535, allocations: 127.3 kB / 0.655 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.2535, allocations: 320.4 kB / 0.6553 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2537, allocations: 201.4 kB / 0.6555 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2539, allocations: 243.3 kB / 0.6558 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2541, allocations: 279 kB / 0.656 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2541, allocations: 2.25 kB / 0.656 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004997/0.2546, allocations: 0.5577 MB / 0.6566 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.2546, allocations: 79.66 kB / 0.6566 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2546, allocations: 1.688 kB / 0.6566 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2546, allocations: 4.578 kB / 0.6567 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.2547, allocations: 26.67 kB / 0.6567 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2547, allocations: 8.297 kB / 0.6567 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.255, allocations: 68.11 kB / 0.6568 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.255, allocations: 59.95 kB / 0.6568 GB, free: 53.04 MB / 0.5573 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.0001302/0.2552, allocations: 193.4 kB / 0.657 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.2552, allocations: 38.11 kB / 0.657 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.2552, allocations: 41.2 kB / 0.6571 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2552, allocations: 2.094 kB / 0.6571 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2553, allocations: 4.906 kB / 0.6571 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2553, allocations: 7.078 kB / 0.6571 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.2563, allocations: 0.7148 MB / 0.6578 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2563, allocations: 0 / 0.6578 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.2564, allocations: 9.297 kB / 0.6578 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2564, allocations: 2.062 kB / 0.6578 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2564, allocations: 27.22 kB / 0.6578 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2564, allocations: 0 / 0.6578 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2564, allocations: 1.812 kB / 0.6578 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.2572, allocations: 0.5042 MB / 0.6583 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.2574, allocations: 133.2 kB / 0.6584 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.2574, allocations: 14.05 kB / 0.6585 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2576, allocations: 34.91 kB / 0.6585 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.2576, allocations: 12.69 kB / 0.6585 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.2577, allocations: 57.31 kB / 0.6586 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001755/0.2579, allocations: 297.9 kB / 0.6588 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2579, allocations: 1.781 kB / 0.6588 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002432/0.2581, allocations: 68.28 kB / 0.6589 GB, free: 52.09 MB / 0.5573 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 9.038e-05/0.2582, allocations: 117.4 kB / 0.659 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.2589, allocations: 495.7 kB / 0.6595 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2589, allocations: 0 / 0.6595 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.2592, allocations: 127.8 kB / 0.6596 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2595, allocations: 23.94 kB / 0.6596 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.2603, allocations: 0.6083 MB / 0.6602 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2604, allocations: 172.9 kB / 0.6604 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.2604, allocations: 15.98 kB / 0.6604 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of SimCode: time 8.31e-07/0.2604, allocations: 0 / 0.6604 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.003744/0.2641, allocations: 3.709 MB / 0.664 GB, free: 50.83 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.970618479885161] Failed to read output from testmodel.py, exit status != 0: 0.26925472263246775 0.275608797 0.025889842000000003 Calling exit ...