Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.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.002044/0.002044, allocations: 106.6 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002263/0.002263, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.649/1.649, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 1.003/1.003, allocations: 144.9 MB / 453.8 MB, free: 0.707 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.83 kB / 0.6285 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2104, allocations: 87.83 MB / 0.7142 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003047/0.2135, allocations: 1.498 MB / 0.7157 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2145, allocations: 433.2 kB / 0.7161 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.2146, allocations: 0 / 0.7161 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2147, allocations: 11.86 kB / 0.7161 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2148, allocations: 20.23 kB / 0.7161 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.2155, allocations: 246 kB / 0.7164 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.216, allocations: 319.5 kB / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.216, allocations: 4 kB / 0.7167 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.2163, allocations: 203.6 kB / 0.7169 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.2166, allocations: 124 kB / 0.717 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.2166, allocations: 20 kB / 0.717 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.2167, allocations: 19.94 kB / 0.717 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2168, allocations: 83.78 kB / 0.7171 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.217, allocations: 123.4 kB / 0.7172 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.2174, allocations: 302.8 kB / 0.7175 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2174, allocations: 8 kB / 0.7175 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2174, allocations: 0 / 0.7175 GB, free: 14.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2174, allocations: 0 / 0.7175 GB, free: 14.95 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001347/0.2187, allocations: 0.7384 MB / 0.7182 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.2188, allocations: 12.02 kB / 0.7183 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.2189, allocations: 36.75 kB / 0.7183 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.2194, allocations: 255.8 kB / 0.7185 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.2195, allocations: 20.36 kB / 0.7186 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.2196, allocations: 27.88 kB / 0.7186 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2206, allocations: 201.4 kB / 0.7188 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2207, allocations: 0 / 0.7188 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2207, allocations: 0 / 0.7188 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.2207, allocations: 7.984 kB / 0.7188 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.2215, allocations: 103.9 kB / 0.7189 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.222, allocations: 317.3 kB / 0.7192 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.223, allocations: 158.4 kB / 0.7193 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/0.2238, allocations: 112.7 kB / 0.7194 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.2238, allocations: 4 kB / 0.7194 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.2248, allocations: 209.4 kB / 0.7196 GB, free: 12.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.2248, allocations: 3.938 kB / 0.7196 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002551/0.2274, allocations: 449.1 kB / 0.7201 GB, free: 12.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.2275, allocations: 63.39 kB / 0.7201 GB, free: 12.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.2278, allocations: 294.9 kB / 0.7204 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.2278, allocations: 37.7 kB / 0.7205 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.2279, allocations: 93.12 kB / 0.7205 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.228, allocations: 35.78 kB / 0.7206 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.2282, allocations: 101.5 kB / 0.7207 GB, free: 11.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2283, allocations: 326.8 kB / 0.721 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2285, allocations: 75.95 kB / 0.7211 GB, free: 11.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.2287, allocations: 131.2 kB / 0.7212 GB, free: 10.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.2291, allocations: 243.1 kB / 0.7214 GB, free: 10.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2291, allocations: 3.938 kB / 0.7214 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007997/0.2299, allocations: 384.8 kB / 0.7218 GB, free: 10.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/0.23, allocations: 79.56 kB / 0.7219 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.23, allocations: 4 kB / 0.7219 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.23, allocations: 0 / 0.7219 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.2302, allocations: 27.92 kB / 0.7219 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2302, allocations: 4 kB / 0.7219 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.2307, allocations: 55.84 kB / 0.7219 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.2308, allocations: 39.98 kB / 0.722 GB, free: 10.04 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002156/0.231, allocations: 181.6 kB / 0.7222 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.231, allocations: 27.81 kB / 0.7222 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.2311, allocations: 26.3 kB / 0.7222 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2311, allocations: 4 kB / 0.7222 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2311, allocations: 0 / 0.7222 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2311, allocations: 0 / 0.7222 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.2333, allocations: 0.6963 MB / 0.7229 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2333, allocations: 3.984 kB / 0.7229 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.2334, allocations: 4 kB / 0.7229 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2334, allocations: 0 / 0.7229 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.2334, allocations: 23.97 kB / 0.7229 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2334, allocations: 0 / 0.7229 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2334, allocations: 0 / 0.7229 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.2352, allocations: 443.5 kB / 0.7233 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.2354, allocations: 168.8 kB / 0.7235 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.2355, allocations: 19.98 kB / 0.7235 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.2359, allocations: 34.47 kB / 0.7236 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.236, allocations: 7.984 kB / 0.7236 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.236, allocations: 43.91 kB / 0.7236 GB, free: 8.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002292/0.2363, allocations: 209.9 kB / 0.7238 GB, free: 8.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2363, allocations: 3.938 kB / 0.7238 GB, free: 8.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003396/0.2366, allocations: 55.94 kB / 0.7239 GB, free: 8.008 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001691/0.2368, allocations: 113 kB / 0.724 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.238, allocations: 350.5 kB / 0.7243 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.238, allocations: 0 / 0.7243 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.2388, allocations: 114.8 kB / 0.7244 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2392, allocations: 20.64 kB / 0.7244 GB, free: 7.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2405, allocations: 447.5 kB / 0.7249 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2409, allocations: 0.7435 MB / 0.7256 GB, free: 6.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.333e-05/0.241, allocations: 17.08 kB / 0.7256 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.241, allocations: 11.44 kB / 0.7256 GB, free: 6.133 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.241, allocations: 4 kB / 0.7256 GB, free: 6.129 MB / 0.545 GB Notification: Performance of Templates: time 0.008056/0.2491, allocations: 3.69 MB / 0.7292 GB, free: 2.457 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.14574409276247] Failed to read output from testmodel.py, exit status != 0: 0.25752493739128113 0.270743018 0.050336793000000005 Calling exit ...