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.001253/0.001253, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.9581/0.9581, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1582, allocations: 82.04 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.006619/0.1649, allocations: 4.707 MB / 0.599 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002902/0.1678, allocations: 2.702 MB / 0.6016 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.168, allocations: 4 kB / 0.6016 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1683, allocations: 43.69 kB / 0.6017 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1686, allocations: 99.3 kB / 0.6018 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1699, allocations: 0.5019 MB / 0.6022 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1702, allocations: 228 kB / 0.6025 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.1703, allocations: 17.53 kB / 0.6025 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.1706, allocations: 119.5 kB / 0.6026 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1708, allocations: 87.66 kB / 0.6027 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1709, allocations: 8 kB / 0.6027 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.1718, allocations: 359.3 kB / 0.603 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.1719, allocations: 39.89 kB / 0.6031 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.172, allocations: 83.64 kB / 0.6031 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006847/0.1727, allocations: 371.3 kB / 0.6035 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1727, allocations: 0 / 0.6035 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1727, allocations: 0 / 0.6035 GB, free: 148 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1727, allocations: 0 / 0.6035 GB, free: 148 kB / 0.4981 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.2261/0.3989, allocations: 0.4975 MB / 0.604 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3989, allocations: 10.66 kB / 0.604 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.399, allocations: 52.34 kB / 0.604 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.3992, allocations: 22.5 kB / 0.6041 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3994, allocations: 209.9 kB / 0.6043 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3994, allocations: 14.44 kB / 0.6043 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3994, allocations: 15.12 kB / 0.6043 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3997, allocations: 247.8 kB / 0.6045 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3998, allocations: 8.031 kB / 0.6045 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3998, allocations: 9.344 kB / 0.6045 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.3998, allocations: 7.188 kB / 0.6046 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.4002, allocations: 429.7 kB / 0.605 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.4011, allocations: 0.9581 MB / 0.6059 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.4013, allocations: 160.2 kB / 0.6061 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.4014, allocations: 63.5 kB / 0.6061 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/0.4023, allocations: 1.827 MB / 0.6079 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.4023, allocations: 34.91 kB / 0.6079 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.4023, allocations: 0.5469 kB / 0.6079 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002877/0.4026, allocations: 145.3 kB / 0.6081 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.4026, allocations: 54 kB / 0.6081 GB, free: 41.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4027, allocations: 178.8 kB / 0.6083 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4028, allocations: 26.27 kB / 0.6083 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.4028, allocations: 148.9 kB / 0.6085 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.4029, allocations: 54.22 kB / 0.6085 GB, free: 41.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.4029, allocations: 52.89 kB / 0.6086 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.403, allocations: 323.7 kB / 0.6089 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.403, allocations: 37.59 kB / 0.6089 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.4031, allocations: 144 kB / 0.609 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4033, allocations: 196.5 kB / 0.6092 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4033, allocations: 2.938 kB / 0.6092 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002631/0.4036, allocations: 218 kB / 0.6094 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4036, allocations: 8.594 kB / 0.6095 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4036, allocations: 6.656 kB / 0.6095 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4036, allocations: 5.938 kB / 0.6095 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4038, allocations: 54.73 kB / 0.6095 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4038, allocations: 12.56 kB / 0.6095 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4039, allocations: 28.38 kB / 0.6096 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.4039, allocations: 15.47 kB / 0.6096 GB, free: 40.46 MB / 0.4981 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 7.437e-05/0.404, allocations: 137 kB / 0.6097 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.404, allocations: 16.91 kB / 0.6097 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.4043, allocations: 161.5 kB / 0.6099 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4043, allocations: 0 / 0.6099 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4043, allocations: 8.594 kB / 0.6099 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4043, allocations: 0 / 0.6099 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4045, allocations: 216.1 kB / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4045, allocations: 0 / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.4046, allocations: 25.31 kB / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4046, allocations: 3.969 kB / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4046, allocations: 5.594 kB / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4046, allocations: 0.625 kB / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4047, allocations: 3.938 kB / 0.6101 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.4048, allocations: 220 kB / 0.6103 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4049, allocations: 115.8 kB / 0.6104 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4049, allocations: 0 / 0.6104 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.4051, allocations: 20.16 kB / 0.6105 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.4052, allocations: 12.8 kB / 0.6105 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4052, allocations: 12.11 kB / 0.6105 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.4053, allocations: 125.7 kB / 0.6106 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4053, allocations: 0 / 0.6106 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003767/0.4056, allocations: 72.06 kB / 0.6107 GB, free: 39.77 MB / 0.4981 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.0005763/0.4062, allocations: 0.8372 MB / 0.6115 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4065, allocations: 129 kB / 0.6116 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4065, allocations: 0.9375 kB / 0.6116 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.4065, allocations: 44.47 kB / 0.6117 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.407, allocations: 56.98 kB / 0.6117 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.4086, allocations: 2.034 MB / 0.6137 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.4087, allocations: 0.711 MB / 0.6144 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.4089, allocations: 50.33 kB / 0.6144 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.4089, allocations: 44.25 kB / 0.6145 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.4089, allocations: 0 / 0.6145 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.4281, allocations: 5.301 MB / 0.6197 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.985, allocations: 10.83 kB / 0.6197 GB, free: 36.24 MB / 0.4981 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)