Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",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.007085/0.007085, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001567/0.001567, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8312/0.8312, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 64.03 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 82.03 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.006133/0.1475, allocations: 4.734 MB / 0.6798 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.1503, allocations: 2.695 MB / 0.6825 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1505, allocations: 0 / 0.6825 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1508, allocations: 47.67 kB / 0.6825 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1512, allocations: 107.4 kB / 0.6826 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1525, allocations: 0.5068 MB / 0.6831 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.1528, allocations: 235.9 kB / 0.6833 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1528, allocations: 13.55 kB / 0.6833 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.153, allocations: 115.6 kB / 0.6834 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1532, allocations: 95.59 kB / 0.6835 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1532, allocations: 8 kB / 0.6835 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.154, allocations: 367.3 kB / 0.6839 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.154, allocations: 31.89 kB / 0.6839 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.1541, allocations: 87.64 kB / 0.684 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.1548, allocations: 367 kB / 0.6844 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1548, allocations: 0 / 0.6844 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1548, allocations: 0 / 0.6844 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1548, allocations: 4 kB / 0.6844 GB, free: 1.383 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007821/0.1556, allocations: 0.5103 MB / 0.6849 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1557, allocations: 8.031 kB / 0.6849 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.1557, allocations: 50.73 kB / 0.6849 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1559, allocations: 24.84 kB / 0.6849 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1562, allocations: 212.1 kB / 0.6851 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1562, allocations: 16.69 kB / 0.6852 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1562, allocations: 20.38 kB / 0.6852 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1566, allocations: 248 kB / 0.6854 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1566, allocations: 0 / 0.6854 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.1566, allocations: 12 kB / 0.6854 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.1567, allocations: 7.984 kB / 0.6854 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.1571, allocations: 427.5 kB / 0.6858 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1582, allocations: 0.9604 MB / 0.6868 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1585, allocations: 165.3 kB / 0.6869 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.611e-05/0.1586, allocations: 60.89 kB / 0.687 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.1599, allocations: 1.825 MB / 0.6888 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1599, allocations: 34.56 kB / 0.6888 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.1599, allocations: 0 / 0.6888 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003255/0.1603, allocations: 157.4 kB / 0.689 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1603, allocations: 55.41 kB / 0.689 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1604, allocations: 175.9 kB / 0.6892 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1605, allocations: 29.7 kB / 0.6892 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1606, allocations: 140.1 kB / 0.6893 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1606, allocations: 51.59 kB / 0.6894 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.1607, allocations: 53.66 kB / 0.6894 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1608, allocations: 322.8 kB / 0.6898 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.1608, allocations: 43.97 kB / 0.6898 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.161, allocations: 142.3 kB / 0.6899 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1612, allocations: 207.7 kB / 0.6901 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.1612, allocations: 4 kB / 0.6901 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003077/0.1615, allocations: 205.2 kB / 0.6903 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1615, allocations: 8 kB / 0.6903 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1616, allocations: 7.938 kB / 0.6903 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1616, allocations: 8.406 kB / 0.6904 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1618, allocations: 59.91 kB / 0.6904 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1618, allocations: 8 kB / 0.6904 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1619, allocations: 31.77 kB / 0.6904 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1619, allocations: 15.94 kB / 0.6905 GB, free: 10.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.982e-05/0.162, allocations: 137.7 kB / 0.6906 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.1621, allocations: 15.91 kB / 0.6906 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.1624, allocations: 158.3 kB / 0.6908 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.1624, allocations: 7.938 kB / 0.6908 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1624, allocations: 4 kB / 0.6908 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1624, allocations: 0 / 0.6908 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1626, allocations: 217.5 kB / 0.691 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1627, allocations: 0 / 0.691 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.1627, allocations: 20 kB / 0.691 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1628, allocations: 3.984 kB / 0.691 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1628, allocations: 11.98 kB / 0.691 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1628, allocations: 3.938 kB / 0.691 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1628, allocations: 0 / 0.691 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.163, allocations: 223.3 kB / 0.6912 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.1631, allocations: 116.9 kB / 0.6913 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1631, allocations: 0 / 0.6913 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1633, allocations: 19.92 kB / 0.6914 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.1634, allocations: 7.984 kB / 0.6914 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1634, allocations: 16 kB / 0.6914 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.1635, allocations: 120 kB / 0.6915 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1635, allocations: 0 / 0.6915 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003715/0.1639, allocations: 79.86 kB / 0.6916 GB, free: 9.156 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0006583/0.1645, allocations: 0.8331 MB / 0.6924 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.1648, allocations: 115.1 kB / 0.6925 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1648, allocations: 0 / 0.6925 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.1649, allocations: 56.77 kB / 0.6926 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1653, allocations: 51.91 kB / 0.6926 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1673, allocations: 2.038 MB / 0.6946 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1675, allocations: 0.7167 MB / 0.6953 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.1677, allocations: 45.77 kB / 0.6953 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.1678, allocations: 47.42 kB / 0.6954 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1678, allocations: 0 / 0.6954 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.19, allocations: 5.356 MB / 0.7006 GB, free: 15.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.556, allocations: 10.19 kB / 0.7006 GB, free: 15.78 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)