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.00135/0.00135, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001152/0.001152, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.078/1.078, allocations: 177.1 MB / 203.4 MB, free: 5.586 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.002519/0.002519, allocations: 240.4 kB / 260.2 MB, free: 12.83 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.7668/0.7668, allocations: 138.4 MB / 455.2 MB, free: 1.508 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 1.473e-06/1.473e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.526e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002129/0.002154, allocations: 1.561 MB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003186, allocations: 0.5445 MB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.003243, allocations: 0 / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.003363, allocations: 11.86 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.003485, allocations: 27.8 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.004185, allocations: 327.2 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.004576, allocations: 483.4 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.00462, allocations: 4 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.00499, allocations: 355.6 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.005199, allocations: 123.7 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.005267, allocations: 31.94 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.005326, allocations: 24 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.005438, allocations: 123.7 kB / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.005566, allocations: 127.7 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.005922, allocations: 382.9 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005925, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005926, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.005933, allocations: 0 / 0.5591 GB, free: 12.44 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.0009973/0.00693, allocations: 0.9066 MB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.006972, allocations: 12.75 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.007079, allocations: 52.7 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.007548, allocations: 266.8 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.007593, allocations: 16.36 kB / 0.5603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.007647, allocations: 28.36 kB / 0.5603 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.008056, allocations: 206.7 kB / 0.5605 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.008069, allocations: 4.125 kB / 0.5605 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.008089, allocations: 384 / 0.5605 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.0081, allocations: 8.375 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.008208, allocations: 59.91 kB / 0.5606 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.008516, allocations: 308.4 kB / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.008723, allocations: 130.9 kB / 0.561 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.008824, allocations: 67.66 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.008853, allocations: 4 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.009093, allocations: 188.7 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.009095, allocations: 4 kB / 0.5613 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007251/0.00982, allocations: 369.2 kB / 0.5616 GB, free: 9.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.009865, allocations: 63.39 kB / 0.5617 GB, free: 9.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.01022, allocations: 426.6 kB / 0.5621 GB, free: 9.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.01027, allocations: 41.69 kB / 0.5621 GB, free: 9.113 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.01034, allocations: 140.2 kB / 0.5622 GB, free: 8.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.01039, allocations: 43.69 kB / 0.5623 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.01056, allocations: 135.1 kB / 0.5624 GB, free: 8.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.0107, allocations: 0.4923 MB / 0.5629 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.01098, allocations: 183.2 kB / 0.5631 GB, free: 8.094 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.01125, allocations: 245.1 kB / 0.5633 GB, free: 7.812 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.01156, allocations: 273 kB / 0.5636 GB, free: 7.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.01156, allocations: 4 kB / 0.5636 GB, free: 7.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007539/0.01231, allocations: 0.5609 MB / 0.5641 GB, free: 6.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.01238, allocations: 79.38 kB / 0.5642 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.01239, allocations: 4 kB / 0.5642 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01241, allocations: 0 / 0.5642 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01258, allocations: 31.97 kB / 0.5642 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.01259, allocations: 11.88 kB / 0.5642 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.01283, allocations: 52.05 kB / 0.5643 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.01291, allocations: 59.98 kB / 0.5643 GB, free: 6.664 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.0001559/0.01306, allocations: 182.6 kB / 0.5645 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.01313, allocations: 43.72 kB / 0.5646 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.01319, allocations: 39.67 kB / 0.5646 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01319, allocations: 3.938 kB / 0.5646 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.0132, allocations: 0 / 0.5646 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.0132, allocations: 7.938 kB / 0.5646 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.0141, allocations: 0.6693 MB / 0.5653 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01411, allocations: 0 / 0.5653 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.01415, allocations: 7.938 kB / 0.5653 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.01415, allocations: 4 kB / 0.5653 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.01418, allocations: 23.91 kB / 0.5653 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01419, allocations: 0 / 0.5653 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01419, allocations: 0 / 0.5653 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.01472, allocations: 467.9 kB / 0.5657 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.01491, allocations: 121.6 kB / 0.5659 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.01497, allocations: 19.94 kB / 0.5659 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.01517, allocations: 19.97 kB / 0.5659 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.01521, allocations: 7.984 kB / 0.5659 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.01527, allocations: 55.98 kB / 0.566 GB, free: 4.934 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.01547, allocations: 275.1 kB / 0.5662 GB, free: 4.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01547, allocations: 0 / 0.5662 GB, free: 4.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.0158, allocations: 63.98 kB / 0.5663 GB, free: 4.609 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 0.0001409/0.01594, allocations: 127.2 kB / 0.5664 GB, free: 4.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.01653, allocations: 429.1 kB / 0.5668 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01653, allocations: 0 / 0.5668 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.01668, allocations: 87.94 kB / 0.5669 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01705, allocations: 57.62 kB / 0.567 GB, free: 3.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.01808, allocations: 478.9 kB / 0.5674 GB, free: 3.371 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.284e-05/0.01814, allocations: 87.81 kB / 0.5675 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.01819, allocations: 17.08 kB / 0.5675 GB, free: 3.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.01823, allocations: 16.48 kB / 0.5675 GB, free: 3.227 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01823, allocations: 0 / 0.5675 GB, free: 3.227 MB / 490.7 MB Notification: Performance of Templates: time 0.008593/0.02682, allocations: 5.898 MB / 0.5733 GB, free: 13.28 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: 4.0561258448287845]