Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005264/0.005264, allocations: 101.9 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 196.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.969/0.969, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 64.11 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.161, allocations: 82.05 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003193/0.1642, allocations: 1.606 MB / 0.677 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1663, allocations: 1.167 MB / 0.6781 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1664, allocations: 3.938 kB / 0.6781 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1667, allocations: 23.86 kB / 0.6782 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.167, allocations: 71.69 kB / 0.6782 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1674, allocations: 130.4 kB / 0.6784 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.1677, allocations: 229.6 kB / 0.6786 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1678, allocations: 28.25 kB / 0.6786 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.598e-05/0.1679, allocations: 71.83 kB / 0.6787 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1682, allocations: 91.77 kB / 0.6788 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.1682, allocations: 16 kB / 0.6788 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.1684, allocations: 83.89 kB / 0.6789 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1685, allocations: 75.81 kB / 0.6789 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1686, allocations: 99.39 kB / 0.679 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.169, allocations: 282.7 kB / 0.6793 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.169, allocations: 3.984 kB / 0.6793 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.169, allocations: 0 / 0.6793 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.1691, allocations: 4 kB / 0.6793 GB, free: 6.629 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008224/0.1699, allocations: 0.5264 MB / 0.6798 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1699, allocations: 8.031 kB / 0.6798 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.812e-05/0.17, allocations: 50.73 kB / 0.6799 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.1701, allocations: 28.75 kB / 0.6799 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1704, allocations: 267.8 kB / 0.6802 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.1704, allocations: 16.23 kB / 0.6802 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1705, allocations: 12.38 kB / 0.6802 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.1709, allocations: 212.9 kB / 0.6804 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1709, allocations: 0 / 0.6804 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1709, allocations: 8 kB / 0.6804 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1709, allocations: 4 kB / 0.6804 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.1719, allocations: 0.7307 MB / 0.6811 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.1729, allocations: 0.5707 MB / 0.6817 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.1734, allocations: 303.7 kB / 0.682 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1736, allocations: 105.3 kB / 0.6821 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.1736, allocations: 20.25 kB / 0.6821 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.174, allocations: 177.4 kB / 0.6822 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.174, allocations: 3.938 kB / 0.6822 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0007202/0.1748, allocations: 369.3 kB / 0.6826 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1749, allocations: 136.5 kB / 0.6827 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.1752, allocations: 300 kB / 0.683 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1752, allocations: 33.7 kB / 0.683 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1753, allocations: 120.7 kB / 0.6832 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1755, allocations: 115 kB / 0.6833 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1756, allocations: 73.62 kB / 0.6833 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.1758, allocations: 338.8 kB / 0.6837 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1759, allocations: 83.95 kB / 0.6837 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.1761, allocations: 131.2 kB / 0.6839 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1765, allocations: 212.9 kB / 0.6841 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1765, allocations: 0 / 0.6841 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004656/0.177, allocations: 273.8 kB / 0.6843 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.177, allocations: 8 kB / 0.6843 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.177, allocations: 0 / 0.6843 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.177, allocations: 0 / 0.6843 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1773, allocations: 67.91 kB / 0.6844 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1773, allocations: 4 kB / 0.6844 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.1775, allocations: 23.88 kB / 0.6844 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.1775, allocations: 19.92 kB / 0.6845 GB, free: 1.059 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001805/0.1777, allocations: 157.8 kB / 0.6846 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.1777, allocations: 27.81 kB / 0.6846 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007437/0.1785, allocations: 385.6 kB / 0.685 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1785, allocations: 4 kB / 0.685 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1785, allocations: 0 / 0.685 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1785, allocations: 3.984 kB / 0.685 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.1789, allocations: 333.2 kB / 0.6853 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1789, allocations: 0 / 0.6853 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1791, allocations: 59.91 kB / 0.6854 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1791, allocations: 0 / 0.6854 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1791, allocations: 8.047 kB / 0.6854 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1791, allocations: 0 / 0.6854 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1791, allocations: 3.984 kB / 0.6854 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.1797, allocations: 326.1 kB / 0.6857 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1799, allocations: 148.8 kB / 0.6858 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1799, allocations: 11.94 kB / 0.6859 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.18, allocations: 11.98 kB / 0.6859 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.1801, allocations: 27.97 kB / 0.6859 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.1802, allocations: 15.92 kB / 0.6859 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002292/0.1804, allocations: 237.5 kB / 0.6861 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1804, allocations: 0 / 0.6861 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002933/0.1807, allocations: 55.94 kB / 0.6862 GB, free: 15.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002171/0.1829, allocations: 1.151 MB / 0.6873 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.1833, allocations: 236 kB / 0.6875 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1833, allocations: 0 / 0.6875 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1835, allocations: 123.8 kB / 0.6877 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1838, allocations: 42.41 kB / 0.6877 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.1869, allocations: 2.461 MB / 0.6901 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1873, allocations: 0.7542 MB / 0.6908 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.1876, allocations: 150.8 kB / 0.691 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1878, allocations: 91.39 kB / 0.6911 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of SimCode: time 4.6e-07/0.1878, allocations: 0 / 0.6911 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.2192, allocations: 5.455 MB / 0.6964 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.355, allocations: 17.45 kB / 0.6964 GB, free: 4.871 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)