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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002261/0.002261, allocations: 285 kB / 303.6 MB, free: 3.754 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9969/0.9969, allocations: 180.9 MB / 0.5268 GB, free: 3.094 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00263/0.00263, allocations: 99.84 kB / 0.7259 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4928, allocations: 94.16 MB / 0.8178 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002074/0.4949, allocations: 1.52 MB / 0.8193 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4959, allocations: 0.5586 MB / 0.8199 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.4959, allocations: 0 / 0.8199 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.496, allocations: 8.688 kB / 0.8199 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.4961, allocations: 30.64 kB / 0.8199 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.4967, allocations: 308.9 kB / 0.8202 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.4971, allocations: 491.9 kB / 0.8207 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.4972, allocations: 3.969 kB / 0.8207 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.4975, allocations: 273.5 kB / 0.8209 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.4977, allocations: 146.9 kB / 0.8211 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/0.4978, allocations: 27.5 kB / 0.8211 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.4979, allocations: 26.09 kB / 0.8211 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.498, allocations: 118.2 kB / 0.8212 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.4982, allocations: 182.2 kB / 0.8214 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.4986, allocations: 421 kB / 0.8218 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4986, allocations: 4 kB / 0.8218 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4986, allocations: 0 / 0.8218 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4986, allocations: 1.156 kB / 0.8218 GB, free: 5.234 MB / 0.5762 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.001051/0.4997, allocations: 0.8767 MB / 0.8227 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.4997, allocations: 10.5 kB / 0.8227 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4998, allocations: 50.7 kB / 0.8227 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.5001, allocations: 321.2 kB / 0.823 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.5001, allocations: 17.55 kB / 0.8231 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.5002, allocations: 28.97 kB / 0.8231 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.5012, allocations: 209.1 kB / 0.8233 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.5012, allocations: 192 / 0.8233 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.5012, allocations: 8.734 kB / 0.8233 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.5012, allocations: 3.375 kB / 0.8233 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.502, allocations: 100.3 kB / 0.8234 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.5023, allocations: 386.8 kB / 0.8238 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.5034, allocations: 164.4 kB / 0.8239 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.5041, allocations: 103.9 kB / 0.824 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.5041, allocations: 6.688 kB / 0.824 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.505, allocations: 228.6 kB / 0.8242 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.505, allocations: 0 / 0.8242 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002497/0.5075, allocations: 487 kB / 0.8247 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.5076, allocations: 66.72 kB / 0.8248 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5079, allocations: 416.1 kB / 0.8252 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.508, allocations: 40.3 kB / 0.8252 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.508, allocations: 95.45 kB / 0.8253 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.5081, allocations: 40.16 kB / 0.8253 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.5082, allocations: 128.2 kB / 0.8255 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.5083, allocations: 325.8 kB / 0.8258 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.5085, allocations: 119.4 kB / 0.8259 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5087, allocations: 165.3 kB / 0.826 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.509, allocations: 277.4 kB / 0.8263 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.509, allocations: 0 / 0.8263 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006772/0.5097, allocations: 492.5 kB / 0.8268 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.5098, allocations: 97.66 kB / 0.8269 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5098, allocations: 0 / 0.8269 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5098, allocations: 5.125 kB / 0.8269 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5099, allocations: 22.27 kB / 0.8269 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5099, allocations: 4.125 kB / 0.8269 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.5104, allocations: 58.36 kB / 0.827 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.5104, allocations: 61.59 kB / 0.827 GB, free: 2.121 MB / 0.5762 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.0001669/0.5106, allocations: 199.8 kB / 0.8272 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.5107, allocations: 44.77 kB / 0.8272 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.5107, allocations: 41.25 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.5107, allocations: 3.906 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5107, allocations: 0.6562 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5107, allocations: 0.5156 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5127, allocations: 0.7534 MB / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5127, allocations: 0 / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.5128, allocations: 4.156 kB / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5128, allocations: 2.594 kB / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.5128, allocations: 21.88 kB / 0.828 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.5128, allocations: 0.5156 kB / 0.8281 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5128, allocations: 5.125 kB / 0.8281 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.5145, allocations: 476.9 kB / 0.8285 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.5147, allocations: 203.4 kB / 0.8287 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.5147, allocations: 10.67 kB / 0.8287 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.5152, allocations: 30.64 kB / 0.8287 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.5152, allocations: 10.09 kB / 0.8288 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.5153, allocations: 55.53 kB / 0.8288 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000227/0.5155, allocations: 296.4 kB / 0.8291 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5155, allocations: 0 / 0.8291 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003119/0.5158, allocations: 68.78 kB / 0.8292 GB, free: 1.016 MB / 0.5762 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.0001089/0.5159, allocations: 126.7 kB / 0.8293 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.5171, allocations: 404.9 kB / 0.8297 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5171, allocations: 0.875 kB / 0.8297 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/0.5179, allocations: 116.1 kB / 0.8298 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5182, allocations: 30.83 kB / 0.8298 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.5196, allocations: 0.6002 MB / 0.8304 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5199, allocations: 0.7681 MB / 0.8311 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.5199, allocations: 20.23 kB / 0.8312 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5199, allocations: 0 / 0.8312 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.00585/0.5258, allocations: 3.698 MB / 0.8348 GB, free: 15.1 MB / 0.5919 GB " [Timeout remaining time 659] 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: 8.035814105998725] Failed to read output from testmodel.py, exit status != 0: 0.5332815358415246 0.545045601 0.043924049 Calling exit ...