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.007769/0.007769, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.001897/0.001897, allocations: 191.8 kB / 16.67 MB, free: 5.973 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.388/2.388, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6735, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002564/0.6761, allocations: 1.699 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1479/0.8241, allocations: 148.4 MB / 1.313 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.8242, allocations: 4 kB / 1.313 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.8244, allocations: 51.72 kB / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.8255, allocations: 449.9 kB / 1.313 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.8257, allocations: 59.88 kB / 1.313 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.8259, allocations: 143.3 kB / 1.313 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.826, allocations: 17.17 kB / 1.313 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.826, allocations: 51.86 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.8262, allocations: 71.67 kB / 1.314 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.8262, allocations: 8 kB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009264/0.8272, allocations: 0.5107 MB / 1.314 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.8272, allocations: 31.91 kB / 1.314 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.8273, allocations: 47.73 kB / 1.314 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.8279, allocations: 374.7 kB / 1.315 GB, free: 11.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8279, allocations: 3.938 kB / 1.315 GB, free: 11.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8279, allocations: 0 / 1.315 GB, free: 11.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8279, allocations: 0 / 1.315 GB, free: 11.29 MB / 1.045 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.0006714/0.8286, allocations: 486.2 kB / 1.315 GB, free: 10.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.8286, allocations: 8.922 kB / 1.315 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.8287, allocations: 114 kB / 1.315 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.8298, allocations: 172 kB / 1.315 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.8301, allocations: 316 kB / 1.316 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.8302, allocations: 158.6 kB / 1.316 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.8303, allocations: 154.5 kB / 1.316 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.576e-05/0.8303, allocations: 105 kB / 1.316 GB, free: 9.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.8304, allocations: 75.28 kB / 1.316 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.8304, allocations: 150.6 kB / 1.316 GB, free: 9.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/0.8305, allocations: 158.6 kB / 1.316 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.8305, allocations: 150.6 kB / 1.316 GB, free: 9.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.8309, allocations: 0.5095 MB / 1.317 GB, free: 8.621 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.831, allocations: 169.1 kB / 1.317 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.831, allocations: 88.08 kB / 1.317 GB, free: 8.355 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.8311, allocations: 75.28 kB / 1.317 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.8311, allocations: 113.8 kB / 1.317 GB, free: 8.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8311, allocations: 0 / 1.317 GB, free: 8.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002919/0.8314, allocations: 61.53 kB / 1.317 GB, free: 8.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.8315, allocations: 130.7 kB / 1.318 GB, free: 7.953 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.8318, allocations: 219.7 kB / 1.318 GB, free: 7.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.8318, allocations: 25.7 kB / 1.318 GB, free: 7.699 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.8319, allocations: 108.1 kB / 1.318 GB, free: 7.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.8319, allocations: 0 / 1.318 GB, free: 7.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.8319, allocations: 25.7 kB / 1.318 GB, free: 7.559 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.832, allocations: 322.8 kB / 1.318 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.8321, allocations: 28.84 kB / 1.318 GB, free: 7.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.8321, allocations: 12 kB / 1.318 GB, free: 7.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.8322, allocations: 32.84 kB / 1.318 GB, free: 7.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8322, allocations: 0 / 1.318 GB, free: 7.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005698/0.8328, allocations: 138.3 kB / 1.318 GB, free: 7.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8328, allocations: 8 kB / 1.318 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8328, allocations: 0 / 1.318 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.8336, allocations: 148.6 kB / 1.319 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.8336, allocations: 4 kB / 1.319 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.8356, allocations: 1.623 MB / 1.32 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.8357, allocations: 7.953 kB / 1.32 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.8358, allocations: 0 / 1.32 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.87e-05/0.8358, allocations: 104.1 kB / 1.32 GB, free: 4.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.056e-05/0.8359, allocations: 16 kB / 1.32 GB, free: 4.961 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.281e-05/0.8359, allocations: 20.86 kB / 1.32 GB, free: 4.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.8359, allocations: 0 / 1.32 GB, free: 4.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002337/0.8362, allocations: 114.3 kB / 1.32 GB, free: 4.816 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.8362, allocations: 4 kB / 1.32 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.8362, allocations: 0 / 1.32 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.8365, allocations: 108.7 kB / 1.321 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.8366, allocations: 7.984 kB / 1.321 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.8377, allocations: 1.465 MB / 1.322 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.8379, allocations: 11.91 kB / 1.322 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.8379, allocations: 4.062 kB / 1.322 GB, free: 3.066 MB / 1.045 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.0001081/0.838, allocations: 259.5 kB / 1.322 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.8381, allocations: 116.8 kB / 1.322 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.8381, allocations: 125.2 kB / 1.323 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.8382, allocations: 180.2 kB / 1.323 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.098e-05/0.8383, allocations: 184.2 kB / 1.323 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/0.8383, allocations: 180.3 kB / 1.323 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.8386, allocations: 445.1 kB / 1.323 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.8386, allocations: 104.9 kB / 1.324 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.8386, allocations: 105 kB / 1.324 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.854e-05/0.8387, allocations: 184.1 kB / 1.324 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.8388, allocations: 180.3 kB / 1.324 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-05/0.8388, allocations: 188.2 kB / 1.324 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.863e-05/0.8389, allocations: 184.2 kB / 1.324 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.839, allocations: 311.7 kB / 1.325 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.8392, allocations: 206 kB / 1.325 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.8392, allocations: 188.1 kB / 1.325 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.8394, allocations: 101 kB / 1.325 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.8395, allocations: 180.3 kB / 1.325 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8395, allocations: 104.9 kB / 1.325 GB, free: 15.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001969/0.8398, allocations: 169.2 kB / 1.326 GB, free: 15.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8398, allocations: 0 / 1.326 GB, free: 15.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000415/0.8402, allocations: 63.94 kB / 1.326 GB, free: 15.17 MB / 1.061 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.0005064/0.8407, allocations: 0.8515 MB / 1.326 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005346/0.8412, allocations: 305.2 kB / 1.327 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8413, allocations: 0 / 1.327 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.8413, allocations: 0 / 1.327 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.8417, allocations: 495.9 kB / 1.327 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.8445, allocations: 2.068 MB / 1.329 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.8448, allocations: 0.6928 MB / 1.33 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.099e-05/0.8449, allocations: 16.48 kB / 1.33 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.845, allocations: 31.42 kB / 1.33 GB, free: 10.56 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.845, allocations: 0 / 1.33 GB, free: 10.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.8687, allocations: 4.735 MB / 1.335 GB, free: 6.004 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.11, allocations: 0.5938 kB / 1.335 GB, free: 6.004 MB / 1.061 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)