Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_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.001144/0.001144, 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.001194/0.001194, allocations: 196.7 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 70.94 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002522/0.248, allocations: 1.687 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.3859, allocations: 148.4 MB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.3861, allocations: 0 / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.3863, allocations: 59.61 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.3874, allocations: 426 kB / 1.211 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.3875, allocations: 71.86 kB / 1.211 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3877, allocations: 139.3 kB / 1.211 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3878, allocations: 9.391 kB / 1.211 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.3878, allocations: 55.84 kB / 1.211 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.388, allocations: 67.69 kB / 1.211 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.388, allocations: 8 kB / 1.211 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009083/0.3889, allocations: 0.5067 MB / 1.212 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.389, allocations: 19.91 kB / 1.212 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.3891, allocations: 63.72 kB / 1.212 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.3896, allocations: 367.1 kB / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3896, allocations: 0 / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3897, allocations: 0 / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3897, allocations: 4 kB / 1.212 GB, free: 6.062 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.0006379/0.3903, allocations: 482.7 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3904, allocations: 8.031 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.3904, allocations: 106 kB / 1.213 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.3916, allocations: 180 kB / 1.213 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.3919, allocations: 315.8 kB / 1.213 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.392, allocations: 158.6 kB / 1.213 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.3921, allocations: 158.5 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.828e-05/0.3921, allocations: 101 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3921, allocations: 75.28 kB / 1.214 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.3922, allocations: 150.6 kB / 1.214 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.3922, allocations: 150.6 kB / 1.214 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.3923, allocations: 158.5 kB / 1.214 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.3926, allocations: 0.5173 MB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.3927, allocations: 177.1 kB / 1.215 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.3927, allocations: 80.14 kB / 1.215 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3927, allocations: 79.28 kB / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3928, allocations: 109.8 kB / 1.215 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3928, allocations: 0 / 1.215 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002933/0.3931, allocations: 61.52 kB / 1.215 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3931, allocations: 126.7 kB / 1.215 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3934, allocations: 219.2 kB / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3935, allocations: 29.7 kB / 1.215 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.3935, allocations: 100.1 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.3935, allocations: 3.984 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3936, allocations: 29.56 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.3937, allocations: 326.8 kB / 1.216 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.3937, allocations: 24.84 kB / 1.216 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.3938, allocations: 20 kB / 1.216 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.017e-05/0.3939, allocations: 20.86 kB / 1.216 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3939, allocations: 4 kB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006183/0.3945, allocations: 138.3 kB / 1.216 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3945, allocations: 8 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3945, allocations: 0 / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/0.3953, allocations: 148.6 kB / 1.216 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.3954, allocations: 8 kB / 1.216 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.3974, allocations: 1.605 MB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3976, allocations: 16.05 kB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3976, allocations: 4 kB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.306e-05/0.3977, allocations: 104.1 kB / 1.218 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.217e-05/0.3978, allocations: 15.98 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.423e-05/0.3978, allocations: 24.86 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.3978, allocations: 0 / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002395/0.3981, allocations: 110.3 kB / 1.218 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.3981, allocations: 8.938 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3981, allocations: 0 / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.3985, allocations: 120.8 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.392e-05/0.3986, allocations: 4 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.3997, allocations: 1.461 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.3999, allocations: 7.891 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3999, allocations: 4.031 kB / 1.219 GB, free: 13.83 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.0001088/0.4, allocations: 251.5 kB / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.4001, allocations: 120.8 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.4001, allocations: 117.5 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.4002, allocations: 180.3 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/0.4003, allocations: 180.2 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.133e-05/0.4003, allocations: 184.2 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4006, allocations: 445.1 kB / 1.221 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/0.4006, allocations: 105 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.4006, allocations: 109.2 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.418e-05/0.4007, allocations: 192.2 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4007, allocations: 180.3 kB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.776e-05/0.4008, allocations: 180.2 kB / 1.222 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.763e-05/0.4009, allocations: 176.3 kB / 1.222 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.401, allocations: 319.7 kB / 1.222 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.4011, allocations: 198 kB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.4012, allocations: 188.1 kB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4014, allocations: 113 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.4014, allocations: 180.3 kB / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.4015, allocations: 104.9 kB / 1.223 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001883/0.4016, allocations: 169.1 kB / 1.223 GB, free: 10 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4017, allocations: 0 / 1.223 GB, free: 10 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004176/0.4021, allocations: 68 kB / 1.223 GB, free: 9.934 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.0004762/0.4026, allocations: 0.8524 MB / 1.224 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.4031, allocations: 309.2 kB / 1.224 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4031, allocations: 0 / 1.224 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.4031, allocations: 3.938 kB / 1.224 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.4035, allocations: 479.6 kB / 1.225 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.4064, allocations: 2.068 MB / 1.227 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4067, allocations: 0.6928 MB / 1.227 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.713e-05/0.4068, allocations: 16.55 kB / 1.227 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.4069, allocations: 27.42 kB / 1.227 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4069, allocations: 4 kB / 1.227 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.4305, allocations: 4.664 MB / 1.232 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.33, allocations: 7.859 kB / 1.232 GB, free: 0.8438 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)