Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_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.008277/0.008277, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002006/0.002006, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.245, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002539/0.2476, allocations: 1.694 MB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6396/0.8872, allocations: 148.4 MB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.8873, allocations: 1 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.8875, allocations: 51.86 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.8885, allocations: 434.5 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.8887, allocations: 64.06 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.8888, allocations: 140.4 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.8889, allocations: 12.78 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.889, allocations: 56.2 kB / 1.314 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.8891, allocations: 65.95 kB / 1.314 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.8891, allocations: 9.125 kB / 1.314 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008559/0.89, allocations: 0.5114 MB / 1.314 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.89, allocations: 23.73 kB / 1.314 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.8901, allocations: 60.11 kB / 1.314 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.8907, allocations: 369.2 kB / 1.315 GB, free: 11.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8907, allocations: 0.7969 kB / 1.315 GB, free: 11.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.123e-06/0.8907, allocations: 0 / 1.315 GB, free: 11.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8907, allocations: 0 / 1.315 GB, free: 11.66 MB / 1.014 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.0006503/0.8913, allocations: 483 kB / 1.315 GB, free: 11.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.8914, allocations: 9.656 kB / 1.315 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.8914, allocations: 114.6 kB / 1.315 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.8926, allocations: 174.5 kB / 1.315 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.8929, allocations: 312.5 kB / 1.316 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.893, allocations: 163.8 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.8931, allocations: 152.7 kB / 1.316 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.955e-05/0.8931, allocations: 102.1 kB / 1.316 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.8932, allocations: 75.84 kB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.8932, allocations: 151.7 kB / 1.316 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.8933, allocations: 154.6 kB / 1.316 GB, free: 9.969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.8933, allocations: 156.2 kB / 1.316 GB, free: 9.816 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.8937, allocations: 0.5111 MB / 1.317 GB, free: 9.336 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.8938, allocations: 169.6 kB / 1.317 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.8938, allocations: 80.14 kB / 1.317 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.8938, allocations: 79.28 kB / 1.317 GB, free: 9.004 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.8939, allocations: 107.5 kB / 1.317 GB, free: 8.891 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 3.346e-06/0.8939, allocations: 0 / 1.317 GB, free: 8.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0002916/0.8942, allocations: 65.64 kB / 1.317 GB, free: 8.848 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.8942, allocations: 128.4 kB / 1.318 GB, free: 8.711 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.8945, allocations: 222.5 kB / 1.318 GB, free: 8.602 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8946, allocations: 30.11 kB / 1.318 GB, free: 8.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.8946, allocations: 105.8 kB / 1.318 GB, free: 8.484 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.8946, allocations: 3.203 kB / 1.318 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.8947, allocations: 21.3 kB / 1.318 GB, free: 8.469 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8948, allocations: 324.7 kB / 1.318 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.8949, allocations: 25.72 kB / 1.318 GB, free: 8.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.886e-05/0.8949, allocations: 17.03 kB / 1.318 GB, free: 8.145 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.895, allocations: 32.91 kB / 1.318 GB, free: 8.129 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.895, allocations: 0 / 1.318 GB, free: 8.129 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005956/0.8956, allocations: 133.5 kB / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.8956, allocations: 9.047 kB / 1.318 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8956, allocations: 1.094 kB / 1.318 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/0.8964, allocations: 146.6 kB / 1.319 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.8965, allocations: 15.88 kB / 1.319 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.8985, allocations: 1.614 MB / 1.32 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.8987, allocations: 3.859 kB / 1.32 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.8987, allocations: 5.922 kB / 1.32 GB, free: 6.645 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.53e-05/0.8988, allocations: 98.95 kB / 1.32 GB, free: 6.562 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.143e-05/0.8988, allocations: 16.45 kB / 1.32 GB, free: 6.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.437e-05/0.8989, allocations: 23.3 kB / 1.32 GB, free: 6.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.8989, allocations: 0 / 1.32 GB, free: 6.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002355/0.8991, allocations: 113.5 kB / 1.32 GB, free: 6.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.8992, allocations: 5.438 kB / 1.32 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.8992, allocations: 0.7031 kB / 1.32 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.8995, allocations: 111 kB / 1.321 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.8996, allocations: 4.906 kB / 1.321 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.9007, allocations: 1.467 MB / 1.322 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.9009, allocations: 2.812 kB / 1.322 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.9009, allocations: 2.938 kB / 1.322 GB, free: 5.109 MB / 1.014 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.0001032/0.901, allocations: 260.6 kB / 1.322 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.9011, allocations: 115.3 kB / 1.322 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.9012, allocations: 122.3 kB / 1.322 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.9012, allocations: 182.1 kB / 1.323 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.534e-05/0.9013, allocations: 178 kB / 1.323 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.664e-05/0.9013, allocations: 182.5 kB / 1.323 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.9016, allocations: 448.6 kB / 1.323 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.9016, allocations: 102.7 kB / 1.324 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.9017, allocations: 106.8 kB / 1.324 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.154e-05/0.9017, allocations: 178.3 kB / 1.324 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.9018, allocations: 185.2 kB / 1.324 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/0.9019, allocations: 185.5 kB / 1.324 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.733e-05/0.9019, allocations: 182.4 kB / 1.324 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.9021, allocations: 317.4 kB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.9022, allocations: 204.7 kB / 1.325 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-05/0.9023, allocations: 186.7 kB / 1.325 GB, free: 1.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.9024, allocations: 108.9 kB / 1.325 GB, free: 1.852 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.9025, allocations: 182.3 kB / 1.325 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.9025, allocations: 102.9 kB / 1.325 GB, free: 1.562 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001995/0.9028, allocations: 160.4 kB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9028, allocations: 5.062 kB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004429/0.9032, allocations: 67.11 kB / 1.326 GB, free: 1.48 MB / 1.014 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.0004922/0.9037, allocations: 0.8548 MB / 1.326 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.9042, allocations: 298.9 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9043, allocations: 0 / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.9043, allocations: 1.812 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.9047, allocations: 482.3 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.9076, allocations: 2.067 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.9078, allocations: 0.6998 MB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.882e-05/0.9079, allocations: 16.56 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.908, allocations: 24.67 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.908, allocations: 5.281 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.9312, allocations: 4.727 MB / 1.335 GB, free: 13.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.89, allocations: 4.484 kB / 1.335 GB, free: 13.24 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)