Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.001481/0.001481, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001505/0.001505, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.37/1.37, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.002283/0.002283, allocations: 281.8 kB / 303.6 MB, free: 3.734 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 1.003/1.003, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 95.83 kB / 0.7259 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4917, allocations: 94.15 MB / 0.8178 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002159/0.4938, allocations: 1.518 MB / 0.8193 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.4948, allocations: 0.5542 MB / 0.8199 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.4949, allocations: 1.031 kB / 0.8199 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.095e-05/0.495, allocations: 15 kB / 0.8199 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.495, allocations: 31.44 kB / 0.8199 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.4957, allocations: 310.6 kB / 0.8202 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.4961, allocations: 489.4 kB / 0.8207 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.4961, allocations: 3.688 kB / 0.8207 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.4964, allocations: 274.2 kB / 0.8209 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.4967, allocations: 146.1 kB / 0.8211 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.4968, allocations: 26.5 kB / 0.8211 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.4969, allocations: 27.47 kB / 0.8211 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.497, allocations: 114.3 kB / 0.8212 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.4972, allocations: 185.9 kB / 0.8214 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.4976, allocations: 426.9 kB / 0.8218 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4976, allocations: 4 kB / 0.8218 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4976, allocations: 0 / 0.8218 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4976, allocations: 0 / 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.0009786/0.4986, allocations: 0.8759 MB / 0.8227 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.4986, allocations: 8.688 kB / 0.8227 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.4987, allocations: 52.44 kB / 0.8227 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.499, allocations: 312.4 kB / 0.823 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.499, allocations: 18.7 kB / 0.823 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.4991, allocations: 37.97 kB / 0.8231 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.5001, allocations: 210.2 kB / 0.8233 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5001, allocations: 2.781 kB / 0.8233 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.5001, allocations: 5.203 kB / 0.8233 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5001, allocations: 2.75 kB / 0.8233 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.5009, allocations: 103.9 kB / 0.8234 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.5013, allocations: 381.5 kB / 0.8238 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.5023, allocations: 160.6 kB / 0.8239 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.503, allocations: 108.8 kB / 0.824 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.503, allocations: 11.7 kB / 0.824 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.5039, allocations: 227.1 kB / 0.8242 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.5039, allocations: 0 / 0.8242 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002495/0.5064, allocations: 493.1 kB / 0.8247 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.5065, allocations: 57.5 kB / 0.8248 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.5068, allocations: 418.7 kB / 0.8252 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.5069, allocations: 42.02 kB / 0.8252 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.5069, allocations: 94.12 kB / 0.8253 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.507, allocations: 36.56 kB / 0.8253 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.5071, allocations: 127.4 kB / 0.8255 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.5072, allocations: 329.8 kB / 0.8258 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.5074, allocations: 116.5 kB / 0.8259 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.5077, allocations: 178.2 kB / 0.826 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.508, allocations: 272 kB / 0.8263 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.508, allocations: 0 / 0.8263 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000711/0.5087, allocations: 492.5 kB / 0.8268 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/0.5087, allocations: 98.39 kB / 0.8269 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5088, allocations: 0 / 0.8269 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5088, allocations: 5.25 kB / 0.8269 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5089, allocations: 22.42 kB / 0.8269 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5089, allocations: 4.266 kB / 0.8269 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.5094, allocations: 58.86 kB / 0.827 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.5095, allocations: 56.36 kB / 0.827 GB, free: 2.117 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.0001804/0.5096, allocations: 197.8 kB / 0.8272 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.5097, allocations: 47.75 kB / 0.8272 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.5097, allocations: 37.33 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5098, allocations: 0.6094 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5098, allocations: 2.625 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5098, allocations: 0.7969 kB / 0.8273 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.5118, allocations: 0.7501 MB / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5118, allocations: 0.7031 kB / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.5119, allocations: 6.844 kB / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5119, allocations: 0 / 0.828 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.5119, allocations: 24.03 kB / 0.828 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5119, allocations: 4.703 kB / 0.828 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5119, allocations: 0 / 0.828 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5136, allocations: 477.2 kB / 0.8285 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.5138, allocations: 197 kB / 0.8287 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.5138, allocations: 20.09 kB / 0.8287 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.5143, allocations: 29.33 kB / 0.8287 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.5144, allocations: 10.84 kB / 0.8288 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.5144, allocations: 59.11 kB / 0.8288 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002411/0.5147, allocations: 294.5 kB / 0.8291 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5147, allocations: 0 / 0.8291 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003281/0.515, allocations: 68.45 kB / 0.8292 GB, free: 1.012 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.0001119/0.5151, allocations: 117.2 kB / 0.8293 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.5163, allocations: 405.8 kB / 0.8297 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5163, allocations: 384 / 0.8297 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.5171, allocations: 113.4 kB / 0.8298 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.5174, allocations: 31.78 kB / 0.8298 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5188, allocations: 0.5999 MB / 0.8304 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.5191, allocations: 0.7795 MB / 0.8311 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.5192, allocations: 16.58 kB / 0.8312 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5192, allocations: 0 / 0.8312 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.005864/0.525, allocations: 3.693 MB / 0.8348 GB, free: 15.11 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.016953258076683] Failed to read output from testmodel.py, exit status != 0: 0.5327513280790299 0.544723217 0.044387939 Calling exit ...