Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",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.001602/0.001602, allocations: 108 kB / 15.61 MB, free: 152 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.001556/0.001556, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 66.69 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2558, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002941/0.2588, allocations: 1.687 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1698/0.4286, allocations: 148.4 MB / 1.211 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.4287, allocations: 7.938 kB / 1.211 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.4289, allocations: 51.66 kB / 1.211 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.43, allocations: 438 kB / 1.211 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.4301, allocations: 59.88 kB / 1.211 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.4303, allocations: 151.3 kB / 1.211 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.4304, allocations: 9.406 kB / 1.211 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.4305, allocations: 47.86 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.4306, allocations: 67.73 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4307, allocations: 8 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000951/0.4316, allocations: 0.5067 MB / 1.212 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.4317, allocations: 31.84 kB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.4317, allocations: 51.73 kB / 1.212 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.4323, allocations: 375.1 kB / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4323, allocations: 0 / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4324, allocations: 0 / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.4324, allocations: 0 / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007237/0.4331, allocations: 478.7 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4331, allocations: 8.031 kB / 1.213 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.4332, allocations: 110 kB / 1.213 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.4344, allocations: 176 kB / 1.213 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.4348, allocations: 319.8 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.4349, allocations: 154.6 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.435, allocations: 158.6 kB / 1.214 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.233e-05/0.4351, allocations: 104.9 kB / 1.214 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.4351, allocations: 79.22 kB / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.4352, allocations: 150.6 kB / 1.214 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.4353, allocations: 162.5 kB / 1.214 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.4353, allocations: 154.6 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.4358, allocations: 0.5173 MB / 1.215 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.4359, allocations: 169.1 kB / 1.215 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.4359, allocations: 84.14 kB / 1.215 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.436, allocations: 75.28 kB / 1.215 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.436, allocations: 109.8 kB / 1.215 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.436, allocations: 0 / 1.215 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002985/0.4363, allocations: 57.58 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.4364, allocations: 130.7 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.4367, allocations: 215.2 kB / 1.216 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4368, allocations: 25.7 kB / 1.216 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4369, allocations: 104.1 kB / 1.216 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.4369, allocations: 0 / 1.216 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.4369, allocations: 29.56 kB / 1.216 GB, free: 2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4371, allocations: 326.8 kB / 1.216 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.4371, allocations: 28.84 kB / 1.216 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.4372, allocations: 16 kB / 1.216 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.49e-05/0.4373, allocations: 24.86 kB / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4373, allocations: 0 / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006376/0.4379, allocations: 138.3 kB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.4379, allocations: 9.875 kB / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4379, allocations: 192 / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008122/0.4388, allocations: 148.6 kB / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.4388, allocations: 8 kB / 1.217 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.4411, allocations: 1.607 MB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4412, allocations: 11.84 kB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4413, allocations: 0 / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.506e-05/0.4414, allocations: 104.1 kB / 1.218 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.538e-05/0.4414, allocations: 19.92 kB / 1.218 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.504e-05/0.4415, allocations: 24.8 kB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.4415, allocations: 4 kB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002528/0.4417, allocations: 106.4 kB / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.4417, allocations: 7.984 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-06/0.4418, allocations: 3.938 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.4421, allocations: 112.6 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.4422, allocations: 4 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.4436, allocations: 1.465 MB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4437, allocations: 11.92 kB / 1.22 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4438, allocations: 0 / 1.22 GB, free: 13.51 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.4439, allocations: 259.5 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.444, allocations: 112.8 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.978e-05/0.4441, allocations: 125.5 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/0.4442, allocations: 176.3 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-05/0.4442, allocations: 176.3 kB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.322e-05/0.4443, allocations: 184.2 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.4447, allocations: 441.2 kB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/0.4447, allocations: 112.9 kB / 1.221 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.4448, allocations: 101 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.4449, allocations: 192.2 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-05/0.4449, allocations: 180.2 kB / 1.222 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.207e-05/0.445, allocations: 176.3 kB / 1.222 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.304e-05/0.4451, allocations: 180.2 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.4453, allocations: 315.7 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4454, allocations: 201.8 kB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4456, allocations: 184.2 kB / 1.223 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4458, allocations: 108.9 kB / 1.223 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.4459, allocations: 188.3 kB / 1.223 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.4459, allocations: 101 kB / 1.223 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002147/0.4461, allocations: 169.1 kB / 1.223 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4461, allocations: 0 / 1.223 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004249/0.4466, allocations: 68 kB / 1.223 GB, free: 9.617 MB / 0.9825 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005844/0.4472, allocations: 0.8519 MB / 1.224 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.4477, allocations: 313.2 kB / 1.225 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4478, allocations: 3.938 kB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.4478, allocations: 0 / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.4483, allocations: 479.9 kB / 1.225 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.4514, allocations: 2.069 MB / 1.227 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4518, allocations: 0.6967 MB / 1.228 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.964e-05/0.4519, allocations: 12.55 kB / 1.228 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.4519, allocations: 27.42 kB / 1.228 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4519, allocations: 4 kB / 1.228 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.4829, allocations: 4.661 MB / 1.232 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.91, allocations: 1.375 kB / 1.232 GB, free: 0.5156 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)