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.004204/0.004204, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001254/0.001254, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6356, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002932/0.6386, allocations: 1.684 MB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1672/0.8058, allocations: 148.4 MB / 1.367 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.8059, allocations: 0 / 1.367 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.8061, allocations: 43.69 kB / 1.367 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.8073, allocations: 438 kB / 1.367 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.8074, allocations: 63.86 kB / 1.367 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.8077, allocations: 147.3 kB / 1.367 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.8077, allocations: 17.19 kB / 1.367 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.8078, allocations: 51.84 kB / 1.368 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.808, allocations: 71.69 kB / 1.368 GB, free: 10.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.808, allocations: 8 kB / 1.368 GB, free: 10.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009801/0.809, allocations: 0.5067 MB / 1.368 GB, free: 10.01 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.809, allocations: 15.92 kB / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.8091, allocations: 59.7 kB / 1.368 GB, free: 9.934 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.8098, allocations: 370.8 kB / 1.369 GB, free: 9.574 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.8098, allocations: 4 kB / 1.369 GB, free: 9.57 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8098, allocations: 0 / 1.369 GB, free: 9.57 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.8098, allocations: 4 kB / 1.369 GB, free: 9.566 MB / 1.092 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.0007418/0.8105, allocations: 486.2 kB / 1.369 GB, free: 9.043 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8106, allocations: 8.031 kB / 1.369 GB, free: 9.035 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.8107, allocations: 106 kB / 1.369 GB, free: 8.922 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8119, allocations: 188 kB / 1.369 GB, free: 8.738 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.8123, allocations: 312 kB / 1.37 GB, free: 8.395 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.8124, allocations: 154.5 kB / 1.37 GB, free: 8.242 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.8125, allocations: 158.6 kB / 1.37 GB, free: 8.086 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.369e-05/0.8125, allocations: 109 kB / 1.37 GB, free: 7.973 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/0.8126, allocations: 75.28 kB / 1.37 GB, free: 7.898 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.8127, allocations: 150.6 kB / 1.37 GB, free: 7.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/0.8127, allocations: 150.6 kB / 1.37 GB, free: 7.602 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.8128, allocations: 150.6 kB / 1.37 GB, free: 7.453 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.8132, allocations: 0.5173 MB / 1.371 GB, free: 6.887 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.8133, allocations: 169.1 kB / 1.371 GB, free: 6.711 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.8134, allocations: 80.14 kB / 1.371 GB, free: 6.629 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.8134, allocations: 75.28 kB / 1.371 GB, free: 6.555 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.8135, allocations: 113.8 kB / 1.371 GB, free: 6.434 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 3.056e-06/0.8135, allocations: 3.984 kB / 1.371 GB, free: 6.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0003143/0.8138, allocations: 61.53 kB / 1.371 GB, free: 6.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.8139, allocations: 130.6 kB / 1.372 GB, free: 6.223 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.8142, allocations: 219.2 kB / 1.372 GB, free: 6 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.8143, allocations: 25.7 kB / 1.372 GB, free: 5.969 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.8144, allocations: 108.1 kB / 1.372 GB, free: 5.859 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.8144, allocations: 3.938 kB / 1.372 GB, free: 5.855 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.8144, allocations: 25.7 kB / 1.372 GB, free: 5.824 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8146, allocations: 322.8 kB / 1.372 GB, free: 5.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.8146, allocations: 24.86 kB / 1.372 GB, free: 5.473 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.8147, allocations: 23.98 kB / 1.372 GB, free: 5.449 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.8148, allocations: 24.86 kB / 1.372 GB, free: 5.422 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8148, allocations: 4 kB / 1.372 GB, free: 5.418 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006314/0.8154, allocations: 134.3 kB / 1.372 GB, free: 5.277 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8154, allocations: 4 kB / 1.372 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8154, allocations: 0 / 1.372 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/0.8163, allocations: 152.7 kB / 1.373 GB, free: 5.121 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.8164, allocations: 4 kB / 1.373 GB, free: 5.117 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.8186, allocations: 1.623 MB / 1.374 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.8188, allocations: 0 / 1.374 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.8188, allocations: 7.984 kB / 1.374 GB, free: 3.344 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.7e-05/0.8189, allocations: 100.4 kB / 1.374 GB, free: 3.242 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.682e-05/0.8189, allocations: 20 kB / 1.374 GB, free: 3.223 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.003e-05/0.819, allocations: 28.84 kB / 1.374 GB, free: 3.191 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.819, allocations: 0 / 1.374 GB, free: 3.191 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002646/0.8193, allocations: 110.4 kB / 1.374 GB, free: 3.074 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.8193, allocations: 5.875 kB / 1.374 GB, free: 3.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.8193, allocations: 0 / 1.374 GB, free: 3.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.8197, allocations: 112.7 kB / 1.375 GB, free: 2.957 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.384e-05/0.8197, allocations: 4 kB / 1.375 GB, free: 2.953 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.8211, allocations: 1.461 MB / 1.376 GB, free: 1.352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.8213, allocations: 11.97 kB / 1.376 GB, free: 1.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.8213, allocations: 0 / 1.376 GB, free: 1.34 MB / 1.092 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.0001386/0.8214, allocations: 256.6 kB / 1.376 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.8216, allocations: 128.8 kB / 1.376 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.8216, allocations: 113.5 kB / 1.376 GB, free: 0.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.977e-05/0.8217, allocations: 180.2 kB / 1.377 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.223e-05/0.8218, allocations: 188.1 kB / 1.377 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-05/0.8219, allocations: 176.3 kB / 1.377 GB, free: 284 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.8222, allocations: 453.2 kB / 1.377 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/0.8223, allocations: 101 kB / 1.378 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.8223, allocations: 101 kB / 1.378 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.871e-05/0.8224, allocations: 196.3 kB / 1.378 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.8225, allocations: 184.2 kB / 1.378 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.049e-05/0.8226, allocations: 180.2 kB / 1.378 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-05/0.8227, allocations: 180.3 kB / 1.378 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.8229, allocations: 315.7 kB / 1.379 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.823, allocations: 202 kB / 1.379 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.8231, allocations: 188.1 kB / 1.379 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.8233, allocations: 105 kB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.8234, allocations: 188.2 kB / 1.379 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.8235, allocations: 104.9 kB / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000223/0.8237, allocations: 161.1 kB / 1.38 GB, free: 13.5 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8237, allocations: 0 / 1.38 GB, free: 13.5 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004185/0.8241, allocations: 67.92 kB / 1.38 GB, free: 13.43 MB / 1.107 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.0006056/0.8247, allocations: 0.852 MB / 1.38 GB, free: 12.55 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005742/0.8253, allocations: 305.2 kB / 1.381 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8253, allocations: 0 / 1.381 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.8253, allocations: 4 kB / 1.381 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.8259, allocations: 479.6 kB / 1.381 GB, free: 11.75 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.8291, allocations: 2.07 MB / 1.383 GB, free: 9.594 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.8294, allocations: 0.7005 MB / 1.384 GB, free: 8.867 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.492e-05/0.8295, allocations: 8.562 kB / 1.384 GB, free: 8.859 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.8295, allocations: 27.42 kB / 1.384 GB, free: 8.832 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/0.8296, allocations: 0 / 1.384 GB, free: 8.832 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.8601, allocations: 4.736 MB / 1.389 GB, free: 4.277 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.43, allocations: 17.11 kB / 1.389 GB, free: 4.262 MB / 1.107 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)