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.001825/0.001825, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002457/0.002457, allocations: 219 kB / 22.26 MB, free: 5.125 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.984 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 0.9311/0.9311, allocations: 145 MB / 457.4 MB, free: 15.52 MB / 366.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [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.001989/0.001989, allocations: 70.61 kB / 0.6331 GB, free: 7.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1914, allocations: 87.88 MB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002665/0.1941, allocations: 1.505 MB / 0.7204 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.1951, allocations: 441.3 kB / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.1951, allocations: 0 / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.951e-05/0.1952, allocations: 11.92 kB / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1953, allocations: 28.16 kB / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.196, allocations: 246.6 kB / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.1964, allocations: 311.5 kB / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.1965, allocations: 11.98 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.1968, allocations: 199.7 kB / 0.7216 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.197, allocations: 124.6 kB / 0.7217 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.1971, allocations: 20 kB / 0.7218 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.265e-05/0.1971, allocations: 16 kB / 0.7218 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1973, allocations: 83.77 kB / 0.7219 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1974, allocations: 123.4 kB / 0.722 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.1978, allocations: 302.8 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1978, allocations: 4 kB / 0.7223 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1978, allocations: 4 kB / 0.7223 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.1978, allocations: 0 / 0.7223 GB, free: 12.04 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.001151/0.199, allocations: 0.6747 MB / 0.7229 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.199, allocations: 8.031 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.199, allocations: 38.75 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.1991, allocations: 36.75 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1995, allocations: 198.6 kB / 0.7232 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1995, allocations: 20.12 kB / 0.7232 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.1996, allocations: 23.98 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.2005, allocations: 197.5 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2005, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2005, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2005, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.2012, allocations: 114.8 kB / 0.7235 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.2016, allocations: 292.3 kB / 0.7238 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/0.2025, allocations: 162.4 kB / 0.724 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.2031, allocations: 104.8 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2032, allocations: 4 kB / 0.7241 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008769/0.204, allocations: 203.2 kB / 0.7243 GB, free: 9.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.204, allocations: 4 kB / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002296/0.2063, allocations: 453.1 kB / 0.7247 GB, free: 9.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.2064, allocations: 59.41 kB / 0.7248 GB, free: 9.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.2067, allocations: 296.1 kB / 0.725 GB, free: 8.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.2068, allocations: 37.7 kB / 0.7251 GB, free: 8.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.2068, allocations: 89.14 kB / 0.7252 GB, free: 8.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.2069, allocations: 39.72 kB / 0.7252 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.207, allocations: 101.5 kB / 0.7253 GB, free: 8.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2072, allocations: 326.8 kB / 0.7256 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2074, allocations: 75.95 kB / 0.7257 GB, free: 8.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.2076, allocations: 135.2 kB / 0.7258 GB, free: 8.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.208, allocations: 247.2 kB / 0.7261 GB, free: 7.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.208, allocations: 0 / 0.7261 GB, free: 7.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006398/0.2086, allocations: 388.9 kB / 0.7264 GB, free: 7.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.2087, allocations: 79.36 kB / 0.7265 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.2087, allocations: 8 kB / 0.7265 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2087, allocations: 4 kB / 0.7265 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2089, allocations: 27.91 kB / 0.7265 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2089, allocations: 4 kB / 0.7265 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.2093, allocations: 55.84 kB / 0.7266 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.2094, allocations: 39.98 kB / 0.7266 GB, free: 7.266 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.0001946/0.2096, allocations: 173.7 kB / 0.7268 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2096, allocations: 27.81 kB / 0.7268 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.2097, allocations: 26.23 kB / 0.7268 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2097, allocations: 4 kB / 0.7269 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2097, allocations: 0 / 0.7269 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2097, allocations: 3.984 kB / 0.7269 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.2117, allocations: 0.6678 MB / 0.7275 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2117, allocations: 0 / 0.7275 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.2117, allocations: 4 kB / 0.7275 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2117, allocations: 4 kB / 0.7275 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.2118, allocations: 15.97 kB / 0.7275 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2118, allocations: 0 / 0.7275 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2118, allocations: 4 kB / 0.7275 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.2134, allocations: 447.5 kB / 0.728 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.2136, allocations: 93.64 kB / 0.7281 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.2136, allocations: 12 kB / 0.7281 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.2141, allocations: 31.97 kB / 0.7281 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2141, allocations: 15.91 kB / 0.7281 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.2142, allocations: 39.97 kB / 0.7281 GB, free: 5.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002221/0.2144, allocations: 211 kB / 0.7283 GB, free: 5.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2144, allocations: 0 / 0.7283 GB, free: 5.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003497/0.2147, allocations: 52 kB / 0.7284 GB, free: 5.379 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.001932/0.2167, allocations: 1.002 MB / 0.7294 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.2178, allocations: 350.5 kB / 0.7297 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2178, allocations: 0 / 0.7297 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.2184, allocations: 108.3 kB / 0.7298 GB, free: 3.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.2188, allocations: 31.36 kB / 0.7298 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.2227, allocations: 2.388 MB / 0.7322 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.2232, allocations: 0.7418 MB / 0.7329 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.859e-05/0.2233, allocations: 17.23 kB / 0.7329 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.2233, allocations: 27.42 kB / 0.7329 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.2233, allocations: 0 / 0.7329 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2552, allocations: 5.05 MB / 0.7379 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.27, allocations: 8.156 kB / 0.7379 GB, free: 11.62 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.27052802400067] Failed to read output from testmodel.py, exit status != 0: 11.373044496998773 11.752876955 11.551678349 Calling exit ...