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.0008224/0.0008224, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009817/0.0009817, allocations: 173 kB / 23.49 MB, free: 1.055 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.9727/0.9727, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.001936/0.001936, allocations: 245.6 kB / 260.5 MB, free: 12.88 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.7395/0.7395, allocations: 138.4 MB / 455.4 MB, free: 1.504 MB / 362.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 2.254e-06/2.254e-06, allocations: 0 / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.574e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002907/0.002932, allocations: 1.561 MB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004389, allocations: 0.5421 MB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.004466, allocations: 0 / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.004589, allocations: 11.86 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.004728, allocations: 23.86 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.005657, allocations: 331.1 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.006248, allocations: 479.4 kB / 0.5579 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.006298, allocations: 4 kB / 0.5579 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.006845, allocations: 363.6 kB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.007143, allocations: 123.7 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.007219, allocations: 24 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.007285, allocations: 28 kB / 0.5584 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.007425, allocations: 115.7 kB / 0.5585 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.007612, allocations: 139.6 kB / 0.5586 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.008102, allocations: 374.9 kB / 0.559 GB, free: 12.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.008108, allocations: 3.984 kB / 0.559 GB, free: 12.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008109, allocations: 4 kB / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.008115, allocations: 0 / 0.559 GB, free: 12.78 MB / 490.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.001286/0.009401, allocations: 0.9027 MB / 0.5599 GB, free: 11.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.009446, allocations: 8.75 kB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.009619, allocations: 60.69 kB / 0.5599 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.009994, allocations: 254.9 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.01005, allocations: 28.3 kB / 0.5602 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.01013, allocations: 28.36 kB / 0.5602 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.01069, allocations: 202.7 kB / 0.5604 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.0107, allocations: 4.188 kB / 0.5604 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.01073, allocations: 4.312 kB / 0.5604 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01074, allocations: 384 / 0.5604 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.01091, allocations: 59.91 kB / 0.5605 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.01133, allocations: 316.4 kB / 0.5608 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.01165, allocations: 127 kB / 0.5609 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.01181, allocations: 63.67 kB / 0.561 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.01183, allocations: 3.984 kB / 0.561 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.01215, allocations: 188.5 kB / 0.5612 GB, free: 10.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.01215, allocations: 0 / 0.5612 GB, free: 10.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.00089/0.01304, allocations: 369.2 kB / 0.5615 GB, free: 10.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.0131, allocations: 63.34 kB / 0.5616 GB, free: 9.941 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.01354, allocations: 426.6 kB / 0.562 GB, free: 9.512 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.01359, allocations: 41.69 kB / 0.562 GB, free: 9.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.01369, allocations: 148.2 kB / 0.5622 GB, free: 9.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.01374, allocations: 35.69 kB / 0.5622 GB, free: 9.281 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.01394, allocations: 135.1 kB / 0.5623 GB, free: 9.141 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.0141, allocations: 0.4923 MB / 0.5628 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.01441, allocations: 183.2 kB / 0.563 GB, free: 8.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.01464, allocations: 245.1 kB / 0.5632 GB, free: 8.164 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.01486, allocations: 275.4 kB / 0.5635 GB, free: 7.855 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01487, allocations: 4 kB / 0.5635 GB, free: 7.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005437/0.01541, allocations: 0.5547 MB / 0.564 GB, free: 7.266 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.01546, allocations: 86.34 kB / 0.5641 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01547, allocations: 3.938 kB / 0.5641 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01548, allocations: 7.984 kB / 0.5641 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.01561, allocations: 32.16 kB / 0.5641 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01562, allocations: 11.94 kB / 0.5642 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.0158, allocations: 47.8 kB / 0.5642 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.01585, allocations: 63.98 kB / 0.5643 GB, free: 7.008 MB / 490.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 (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.0001218/0.01597, allocations: 178.6 kB / 0.5644 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.01603, allocations: 51.7 kB / 0.5645 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.01607, allocations: 31.69 kB / 0.5645 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01607, allocations: 4 kB / 0.5645 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01607, allocations: 4 kB / 0.5645 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01608, allocations: 3.938 kB / 0.5645 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.01674, allocations: 0.6731 MB / 0.5652 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01674, allocations: 0 / 0.5652 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.01676, allocations: 4 kB / 0.5652 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01677, allocations: 0 / 0.5652 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.01679, allocations: 27.84 kB / 0.5652 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01679, allocations: 4 kB / 0.5652 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0168, allocations: 0 / 0.5652 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.01718, allocations: 464 kB / 0.5657 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.01732, allocations: 125.5 kB / 0.5658 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.01737, allocations: 19.92 kB / 0.5658 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.01751, allocations: 15.98 kB / 0.5658 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.01754, allocations: 7.984 kB / 0.5658 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.01758, allocations: 63.97 kB / 0.5659 GB, free: 5.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.01772, allocations: 267.1 kB / 0.5661 GB, free: 5.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01772, allocations: 4 kB / 0.5661 GB, free: 5.016 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.01794, allocations: 67.98 kB / 0.5662 GB, free: 4.949 MB / 490.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 (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.89e-05/0.01804, allocations: 119.2 kB / 0.5663 GB, free: 4.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.01847, allocations: 428.7 kB / 0.5667 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01848, allocations: 4 kB / 0.5667 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01858, allocations: 87.97 kB / 0.5668 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01883, allocations: 48.02 kB / 0.5669 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.01953, allocations: 478.9 kB / 0.5673 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.01958, allocations: 87.8 kB / 0.5674 GB, free: 3.617 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.508e-05/0.01962, allocations: 9.156 kB / 0.5674 GB, free: 3.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.01965, allocations: 20.48 kB / 0.5674 GB, free: 3.586 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01965, allocations: 4 kB / 0.5674 GB, free: 3.582 MB / 490.7 MB Notification: Performance of Templates: time 0.006315/0.02596, allocations: 5.903 MB / 0.5732 GB, free: 13.63 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7966615851037204]