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.001292/0.001292, allocations: 105.8 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.001428/0.001428, 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.8986/0.8986, allocations: 145 MB / 453.8 MB, free: 0.6953 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: "" <> 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.0019/0.0019, allocations: 62.16 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1859, allocations: 87.83 MB / 0.7138 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002866/0.1888, allocations: 1.51 MB / 0.7152 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1898, allocations: 425.1 kB / 0.7156 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.1899, allocations: 0 / 0.7156 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.19, allocations: 7.875 kB / 0.7156 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1901, allocations: 24.23 kB / 0.7157 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.1908, allocations: 250.8 kB / 0.7159 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.1912, allocations: 319.5 kB / 0.7162 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1912, allocations: 7.938 kB / 0.7162 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.1915, allocations: 203.6 kB / 0.7164 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1918, allocations: 120 kB / 0.7165 GB, free: 0 / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.026e-05/0.1919, allocations: 20.05 kB / 0.7165 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.1919, allocations: 20 kB / 0.7166 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.192, allocations: 79.72 kB / 0.7166 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1922, allocations: 123.4 kB / 0.7168 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.1925, allocations: 306.9 kB / 0.7171 GB, free: 15.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1925, allocations: 0 / 0.7171 GB, free: 15.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1925, allocations: 0 / 0.7171 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.1926, allocations: 0 / 0.7171 GB, free: 15.46 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.001142/0.1937, allocations: 0.7422 MB / 0.7178 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1937, allocations: 12.03 kB / 0.7178 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.1938, allocations: 38.73 kB / 0.7178 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.1939, allocations: 36.75 kB / 0.7179 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1942, allocations: 263.8 kB / 0.7181 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.1942, allocations: 20.12 kB / 0.7181 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.1943, allocations: 19.98 kB / 0.7182 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.1953, allocations: 197.5 kB / 0.7183 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1953, allocations: 0 / 0.7183 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1953, allocations: 0 / 0.7183 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1953, allocations: 4 kB / 0.7183 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.1961, allocations: 107.9 kB / 0.7184 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1965, allocations: 317.3 kB / 0.7188 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1976, allocations: 170.3 kB / 0.7189 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.1984, allocations: 104.8 kB / 0.719 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1984, allocations: 7.938 kB / 0.719 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.1995, allocations: 207.2 kB / 0.7192 GB, free: 13.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.1995, allocations: 0 / 0.7192 GB, free: 13.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002702/0.2022, allocations: 455.3 kB / 0.7197 GB, free: 12.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.2022, allocations: 63.39 kB / 0.7197 GB, free: 12.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.2026, allocations: 294.9 kB / 0.72 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.2026, allocations: 37.69 kB / 0.72 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.2027, allocations: 89.14 kB / 0.7201 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2028, allocations: 39.73 kB / 0.7202 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.2029, allocations: 101.5 kB / 0.7202 GB, free: 11.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2031, allocations: 322.8 kB / 0.7206 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2033, allocations: 79.95 kB / 0.7206 GB, free: 11.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.2035, allocations: 136.2 kB / 0.7208 GB, free: 11.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.2038, allocations: 235.6 kB / 0.721 GB, free: 11.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2039, allocations: 4 kB / 0.721 GB, free: 11.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006862/0.2045, allocations: 392.7 kB / 0.7214 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/0.2046, allocations: 71.39 kB / 0.7214 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2046, allocations: 3.938 kB / 0.7214 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2046, allocations: 4 kB / 0.7214 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2048, allocations: 27.91 kB / 0.7215 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2048, allocations: 4 kB / 0.7215 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.2053, allocations: 56.09 kB / 0.7215 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.2054, allocations: 36 kB / 0.7216 GB, free: 10.5 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.0002289/0.2056, allocations: 177.6 kB / 0.7217 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.2057, allocations: 27.81 kB / 0.7218 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.2057, allocations: 30.3 kB / 0.7218 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2057, allocations: 0 / 0.7218 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2057, allocations: 0 / 0.7218 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2057, allocations: 0 / 0.7218 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.208, allocations: 0.6975 MB / 0.7225 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.208, allocations: 0 / 0.7225 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.2081, allocations: 4 kB / 0.7225 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2081, allocations: 4 kB / 0.7225 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.2081, allocations: 15.97 kB / 0.7225 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2081, allocations: 8 kB / 0.7225 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2081, allocations: 0 / 0.7225 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.2099, allocations: 450.2 kB / 0.7229 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.2101, allocations: 172.7 kB / 0.7231 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.2101, allocations: 8 kB / 0.7231 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.2106, allocations: 35.95 kB / 0.7231 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.2107, allocations: 11.92 kB / 0.7231 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.2107, allocations: 35.98 kB / 0.7232 GB, free: 8.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002176/0.2109, allocations: 221.9 kB / 0.7234 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2109, allocations: 0 / 0.7234 GB, free: 8.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003651/0.2113, allocations: 48 kB / 0.7234 GB, free: 8.473 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.002164/0.2135, allocations: 0.9988 MB / 0.7244 GB, free: 7.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.2147, allocations: 345.2 kB / 0.7247 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2147, allocations: 0 / 0.7247 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/0.2155, allocations: 112.2 kB / 0.7248 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.2159, allocations: 31.2 kB / 0.7249 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.2197, allocations: 2.378 MB / 0.7272 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.2201, allocations: 0.7435 MB / 0.7279 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.2202, allocations: 13.09 kB / 0.7279 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.2202, allocations: 23.42 kB / 0.728 GB, free: 3.641 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.2202, allocations: 4 kB / 0.728 GB, free: 3.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.2482, allocations: 4.839 MB / 0.7327 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.122, allocations: 11.19 kB / 0.7327 GB, free: 14.89 MB / 0.5606 GB " [Timeout remaining time 652] (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: 13.597025020993897] Failed to read output from testmodel.py, exit status != 0: 8.207809963001637 8.233140455 8.035746954 Calling exit ...