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.001493/0.001493, allocations: 108 kB / 15.6 MB, free: 132 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.00174/0.00174, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.504/2.504, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002557, allocations: 63.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5416, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00266/0.5443, allocations: 1.691 MB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.6893, allocations: 148.4 MB / 1.164 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.6894, allocations: 0 / 1.164 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.6897, allocations: 55.66 kB / 1.164 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.6909, allocations: 434 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.6911, allocations: 55.88 kB / 1.165 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.6914, allocations: 147.3 kB / 1.165 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.6914, allocations: 9.406 kB / 1.165 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.6915, allocations: 55.84 kB / 1.165 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.6917, allocations: 67.69 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.6917, allocations: 8 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009612/0.6927, allocations: 0.5067 MB / 1.165 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.6927, allocations: 19.91 kB / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.6928, allocations: 59.73 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.6935, allocations: 367.1 kB / 1.166 GB, free: 10.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6935, allocations: 0 / 1.166 GB, free: 10.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6935, allocations: 0 / 1.166 GB, free: 10.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.6935, allocations: 8 kB / 1.166 GB, free: 10.08 MB / 0.92 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.000688/0.6942, allocations: 486.7 kB / 1.166 GB, free: 9.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6942, allocations: 8.031 kB / 1.166 GB, free: 9.551 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.6943, allocations: 110 kB / 1.166 GB, free: 9.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.6955, allocations: 175.9 kB / 1.166 GB, free: 9.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.6958, allocations: 312 kB / 1.167 GB, free: 8.918 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.6959, allocations: 154.6 kB / 1.167 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.6959, allocations: 158.5 kB / 1.167 GB, free: 8.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.33e-05/0.696, allocations: 113 kB / 1.167 GB, free: 8.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.696, allocations: 75.28 kB / 1.167 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.6961, allocations: 150.6 kB / 1.167 GB, free: 8.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.6961, allocations: 150.6 kB / 1.168 GB, free: 8.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.6962, allocations: 150.6 kB / 1.168 GB, free: 7.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.6965, allocations: 0.5134 MB / 1.168 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.6966, allocations: 173.1 kB / 1.168 GB, free: 7.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.6966, allocations: 84.08 kB / 1.168 GB, free: 7.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.6966, allocations: 79.28 kB / 1.169 GB, free: 7.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.6967, allocations: 113.8 kB / 1.169 GB, free: 6.945 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 2.365e-06/0.6967, allocations: 0 / 1.169 GB, free: 6.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.000291/0.697, allocations: 65.38 kB / 1.169 GB, free: 6.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.6971, allocations: 126.7 kB / 1.169 GB, free: 6.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.6974, allocations: 219.1 kB / 1.169 GB, free: 6.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6974, allocations: 29.7 kB / 1.169 GB, free: 6.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.6974, allocations: 108.1 kB / 1.169 GB, free: 6.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.6975, allocations: 0 / 1.169 GB, free: 6.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.6975, allocations: 25.7 kB / 1.169 GB, free: 6.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.6976, allocations: 318.8 kB / 1.169 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.6977, allocations: 24.84 kB / 1.17 GB, free: 5.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.6977, allocations: 20 kB / 1.17 GB, free: 5.973 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.633e-05/0.6978, allocations: 28.97 kB / 1.17 GB, free: 5.941 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6978, allocations: 8 kB / 1.17 GB, free: 5.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006136/0.6984, allocations: 134.3 kB / 1.17 GB, free: 5.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6984, allocations: 6.188 kB / 1.17 GB, free: 5.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6984, allocations: 0 / 1.17 GB, free: 5.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007948/0.6992, allocations: 148.6 kB / 1.17 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.6993, allocations: 4 kB / 1.17 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.7013, allocations: 1.611 MB / 1.171 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7015, allocations: 11.94 kB / 1.171 GB, free: 3.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.7015, allocations: 4 kB / 1.171 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.987e-05/0.7016, allocations: 104.1 kB / 1.172 GB, free: 3.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.974e-05/0.7016, allocations: 12 kB / 1.172 GB, free: 3.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.628e-05/0.7017, allocations: 25.05 kB / 1.172 GB, free: 3.723 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.7017, allocations: 0 / 1.172 GB, free: 3.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002374/0.7019, allocations: 114.3 kB / 1.172 GB, free: 3.602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.702, allocations: 12 kB / 1.172 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.702, allocations: 0 / 1.172 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.7023, allocations: 112.6 kB / 1.172 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.7024, allocations: 7.984 kB / 1.172 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.7035, allocations: 1.465 MB / 1.173 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.7037, allocations: 4.062 kB / 1.173 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.7037, allocations: 4.031 kB / 1.173 GB, free: 1.859 MB / 0.92 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.0001017/0.7038, allocations: 255.8 kB / 1.173 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.7039, allocations: 120.7 kB / 1.174 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.7039, allocations: 121.4 kB / 1.174 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/0.704, allocations: 180.3 kB / 1.174 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-05/0.704, allocations: 184.2 kB / 1.174 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.124e-05/0.7041, allocations: 176.3 kB / 1.174 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.7043, allocations: 449.1 kB / 1.175 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/0.7044, allocations: 104.9 kB / 1.175 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.7044, allocations: 105 kB / 1.175 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.7045, allocations: 184.1 kB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.7046, allocations: 184.3 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.967e-05/0.7046, allocations: 176.3 kB / 1.175 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.563e-05/0.7047, allocations: 184.2 kB / 1.176 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.7048, allocations: 311.7 kB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.7049, allocations: 198 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.705, allocations: 192.1 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.7052, allocations: 109 kB / 1.176 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.7052, allocations: 180.3 kB / 1.176 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.7053, allocations: 104.9 kB / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001967/0.7055, allocations: 169.2 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7055, allocations: 0 / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004211/0.7059, allocations: 68 kB / 1.177 GB, free: 13.97 MB / 0.9356 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.0004897/0.7064, allocations: 0.8515 MB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005236/0.707, allocations: 301.3 kB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.707, allocations: 0 / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.707, allocations: 0 / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.7074, allocations: 479.6 kB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.7102, allocations: 2.053 MB / 1.18 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.7104, allocations: 0.6967 MB / 1.181 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.7105, allocations: 12.56 kB / 1.181 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.7106, allocations: 27.42 kB / 1.181 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.7106, allocations: 0 / 1.181 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.7415, allocations: 4.669 MB / 1.186 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.78, allocations: 17.22 kB / 1.186 GB, free: 4.875 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)