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-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.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.007167/0.007167, allocations: 99.03 kB / 15.73 MB, free: 6.043 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.001774/0.001774, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.9949/0.9949, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.89 kB / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3531, allocations: 82.04 MB / 0.6755 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.005691/0.3588, allocations: 4.717 MB / 0.6801 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3618, allocations: 2.696 MB / 0.6827 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.3619, allocations: 1.094 kB / 0.6827 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3622, allocations: 46.61 kB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.3625, allocations: 96.33 kB / 0.6828 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3636, allocations: 0.5018 MB / 0.6833 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3639, allocations: 240.5 kB / 0.6836 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.3639, allocations: 16.39 kB / 0.6836 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3641, allocations: 114.7 kB / 0.6837 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3643, allocations: 93.47 kB / 0.6838 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3643, allocations: 10.88 kB / 0.6838 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.365, allocations: 364.4 kB / 0.6841 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.3651, allocations: 37.98 kB / 0.6842 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.3652, allocations: 80.34 kB / 0.6842 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.3658, allocations: 360.5 kB / 0.6846 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3658, allocations: 1.5 kB / 0.6846 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3658, allocations: 0 / 0.6846 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3658, allocations: 0 / 0.6846 GB, free: 9.84 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.0007432/0.3665, allocations: 0.5092 MB / 0.6851 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3666, allocations: 17.56 kB / 0.6851 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.739e-05/0.3666, allocations: 53.61 kB / 0.6852 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.3668, allocations: 21.22 kB / 0.6852 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3671, allocations: 217.8 kB / 0.6854 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3671, allocations: 11.58 kB / 0.6854 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3671, allocations: 14 kB / 0.6854 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.3675, allocations: 246.1 kB / 0.6856 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3675, allocations: 5.312 kB / 0.6856 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3676, allocations: 6.75 kB / 0.6856 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.3676, allocations: 9.484 kB / 0.6857 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.3681, allocations: 429.1 kB / 0.6861 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3692, allocations: 0.9691 MB / 0.687 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.3695, allocations: 156.8 kB / 0.6872 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3696, allocations: 58.84 kB / 0.6872 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.3711, allocations: 1.834 MB / 0.689 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3712, allocations: 34.94 kB / 0.689 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.3712, allocations: 0 / 0.689 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003454/0.3715, allocations: 150.1 kB / 0.6892 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3716, allocations: 54.22 kB / 0.6892 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3717, allocations: 178.6 kB / 0.6894 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3718, allocations: 27.14 kB / 0.6894 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.3719, allocations: 147.7 kB / 0.6896 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.3719, allocations: 54.31 kB / 0.6896 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.372, allocations: 57.56 kB / 0.6897 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3722, allocations: 321.6 kB / 0.69 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.3722, allocations: 38.5 kB / 0.69 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3724, allocations: 138.3 kB / 0.6902 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.3727, allocations: 211.4 kB / 0.6904 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3727, allocations: 1.094 kB / 0.6904 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003345/0.373, allocations: 211.3 kB / 0.6906 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.373, allocations: 7.656 kB / 0.6906 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.373, allocations: 3.281 kB / 0.6906 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3731, allocations: 13.25 kB / 0.6906 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3732, allocations: 52.75 kB / 0.6906 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3733, allocations: 8.656 kB / 0.6906 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3734, allocations: 28.66 kB / 0.6907 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3734, allocations: 18.62 kB / 0.6907 GB, free: 4.066 MB / 0.5137 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 0.0001224/0.3735, allocations: 134.7 kB / 0.6908 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.3736, allocations: 17.31 kB / 0.6908 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3739, allocations: 163.8 kB / 0.691 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.3739, allocations: 6.125 kB / 0.691 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3739, allocations: 1.125 kB / 0.691 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.374, allocations: 0 / 0.691 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3742, allocations: 210.7 kB / 0.6912 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3742, allocations: 4 kB / 0.6912 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.3743, allocations: 26.81 kB / 0.6912 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3743, allocations: 1.469 kB / 0.6912 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3743, allocations: 4.734 kB / 0.6912 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3744, allocations: 5.375 kB / 0.6912 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3744, allocations: 0 / 0.6912 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3746, allocations: 224 kB / 0.6915 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.3748, allocations: 110.1 kB / 0.6916 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3748, allocations: 9.312 kB / 0.6916 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.375, allocations: 18.77 kB / 0.6916 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.375, allocations: 17.52 kB / 0.6916 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3751, allocations: 11.28 kB / 0.6916 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.024e-05/0.3752, allocations: 115.3 kB / 0.6917 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3752, allocations: 3.938 kB / 0.6917 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003924/0.3756, allocations: 86.36 kB / 0.6918 GB, free: 3.113 MB / 0.5137 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.0007484/0.3763, allocations: 0.827 MB / 0.6926 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3766, allocations: 116.2 kB / 0.6927 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3766, allocations: 1.5 kB / 0.6927 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.3767, allocations: 50.61 kB / 0.6928 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3771, allocations: 47.84 kB / 0.6928 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3794, allocations: 2.051 MB / 0.6948 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3797, allocations: 0.7123 MB / 0.6955 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.3799, allocations: 46.59 kB / 0.6956 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.38, allocations: 52.89 kB / 0.6956 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.38, allocations: 0 / 0.6956 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.4063, allocations: 5.36 MB / 0.7008 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.251, allocations: 0 / 0.7008 GB, free: 11.2 MB / 0.5294 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)