Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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.001813/0.001813, allocations: 110.2 kB / 19.59 MB, free: 2.277 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.002496/0.002496, allocations: 187.7 kB / 22.85 MB, free: 5.66 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.609/1.609, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.154/1.154, allocations: 149.5 MB / 456.3 MB, free: 1.73 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.39 kB / 0.6324 GB, free: 9.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.201, allocations: 87.89 MB / 0.7183 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003185/0.2041, allocations: 1.727 MB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2057, allocations: 0.6285 MB / 0.7206 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2058, allocations: 0 / 0.7206 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2059, allocations: 15.8 kB / 0.7206 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.2061, allocations: 35.84 kB / 0.7206 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2071, allocations: 366.2 kB / 0.721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007861/0.2079, allocations: 0.6009 MB / 0.7215 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.208, allocations: 21.3 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.2085, allocations: 319.5 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.2089, allocations: 164.7 kB / 0.722 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.209, allocations: 40 kB / 0.7221 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2091, allocations: 40 kB / 0.7221 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2092, allocations: 127.6 kB / 0.7222 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.2095, allocations: 219 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.2102, allocations: 0.5996 MB / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2102, allocations: 0 / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2102, allocations: 0 / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2102, allocations: 0 / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001571/0.2117, allocations: 0.8378 MB / 0.7238 GB, free: 11.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.2118, allocations: 12.62 kB / 0.7239 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.212, allocations: 52.66 kB / 0.7239 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.2127, allocations: 284.6 kB / 0.7242 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.2127, allocations: 24.36 kB / 0.7242 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.2128, allocations: 32.36 kB / 0.7242 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2141, allocations: 235.6 kB / 0.7245 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2141, allocations: 4.188 kB / 0.7245 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2141, allocations: 7.938 kB / 0.7245 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2142, allocations: 0 / 0.7245 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.215, allocations: 119.9 kB / 0.7246 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.2168, allocations: 0.6477 MB / 0.7252 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.218, allocations: 174.4 kB / 0.7254 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007799/0.2187, allocations: 104.8 kB / 0.7255 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.2188, allocations: 7.938 kB / 0.7255 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.2199, allocations: 234.4 kB / 0.7257 GB, free: 9.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/0.2199, allocations: 0 / 0.7257 GB, free: 9.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002953/0.2229, allocations: 0.4972 MB / 0.7262 GB, free: 8.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.2229, allocations: 63.39 kB / 0.7263 GB, free: 8.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.2235, allocations: 441.9 kB / 0.7267 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.2237, allocations: 41.69 kB / 0.7267 GB, free: 8.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.2238, allocations: 101.4 kB / 0.7268 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.2238, allocations: 39.75 kB / 0.7269 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.2241, allocations: 133.5 kB / 0.727 GB, free: 8.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2243, allocations: 330.8 kB / 0.7273 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.2247, allocations: 135.9 kB / 0.7274 GB, free: 7.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.225, allocations: 181.9 kB / 0.7276 GB, free: 7.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.2255, allocations: 311.2 kB / 0.7279 GB, free: 7.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2256, allocations: 3.938 kB / 0.7279 GB, free: 7.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001066/0.2266, allocations: 0.5241 MB / 0.7284 GB, free: 6.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.2267, allocations: 95.38 kB / 0.7285 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2268, allocations: 4 kB / 0.7285 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2268, allocations: 0 / 0.7285 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.227, allocations: 27.91 kB / 0.7285 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.227, allocations: 4 kB / 0.7285 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.2277, allocations: 56.09 kB / 0.7286 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2278, allocations: 55.98 kB / 0.7286 GB, free: 6.289 MB / 0.545 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0004117/0.2282, allocations: 224.2 kB / 0.7289 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.2283, allocations: 39.75 kB / 0.7289 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.2284, allocations: 39.73 kB / 0.7289 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.2284, allocations: 4 kB / 0.7289 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2284, allocations: 0 / 0.7289 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.2284, allocations: 7.984 kB / 0.7289 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.2309, allocations: 0.7668 MB / 0.7297 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2309, allocations: 0 / 0.7297 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.231, allocations: 7.938 kB / 0.7297 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.231, allocations: 7.984 kB / 0.7297 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.2311, allocations: 15.98 kB / 0.7297 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.2311, allocations: 7.938 kB / 0.7297 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2311, allocations: 0 / 0.7297 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.233, allocations: 494.5 kB / 0.7302 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.2335, allocations: 185.4 kB / 0.7304 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.2336, allocations: 19.98 kB / 0.7304 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.2341, allocations: 39.91 kB / 0.7304 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.2341, allocations: 7.984 kB / 0.7304 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.2342, allocations: 55.97 kB / 0.7305 GB, free: 4.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000566/0.2348, allocations: 323.1 kB / 0.7308 GB, free: 3.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2348, allocations: 0 / 0.7308 GB, free: 3.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004762/0.2353, allocations: 71.98 kB / 0.7309 GB, free: 3.926 MB / 0.545 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002445/0.2355, allocations: 123.7 kB / 0.731 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.2371, allocations: 434.5 kB / 0.7314 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2371, allocations: 0 / 0.7314 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.2379, allocations: 119.8 kB / 0.7315 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.2384, allocations: 42.31 kB / 0.7316 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2402, allocations: 0.6099 MB / 0.7322 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.2407, allocations: 0.7825 MB / 0.7329 GB, free: 1.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.353e-05/0.2408, allocations: 13.42 kB / 0.7329 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.2409, allocations: 19.44 kB / 0.733 GB, free: 1.719 MB / 0.545 GB Notification: Performance of SimCode: time 2.214e-06/0.2409, allocations: 0 / 0.733 GB, free: 1.719 MB / 0.545 GB Notification: Performance of Templates: time 0.01179/0.2527, allocations: 5.504 MB / 0.7383 GB, free: 12.12 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.858025497756898] Failed to read output from testmodel.py, exit status != 0: 0.26270213071256876 0.634293562 0.065679124 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f461fa997b0>