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.005128/0.005129, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001576/0.001577, allocations: 198.6 kB / 16.67 MB, free: 5.52 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.463/2.463, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 75.88 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7944, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003086/0.7975, allocations: 1.687 MB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.9498, allocations: 148.4 MB / 1.354 GB, free: 6.895 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.95, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.9503, allocations: 51.66 kB / 1.354 GB, free: 6.844 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.9516, allocations: 446 kB / 1.354 GB, free: 6.406 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.9518, allocations: 63.86 kB / 1.354 GB, free: 6.344 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.952, allocations: 147.3 kB / 1.355 GB, free: 6.199 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.9521, allocations: 5.406 kB / 1.355 GB, free: 6.191 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.9522, allocations: 55.78 kB / 1.355 GB, free: 6.137 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.9524, allocations: 67.69 kB / 1.355 GB, free: 6.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.9524, allocations: 16 kB / 1.355 GB, free: 6.055 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009772/0.9534, allocations: 0.5028 MB / 1.355 GB, free: 5.551 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.9534, allocations: 27.89 kB / 1.355 GB, free: 5.523 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.9535, allocations: 55.73 kB / 1.355 GB, free: 5.469 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.9542, allocations: 375.1 kB / 1.356 GB, free: 5.102 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9542, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9542, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.537e-06/0.9542, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.076 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.0007318/0.9549, allocations: 490.7 kB / 1.356 GB, free: 4.574 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.955, allocations: 8.031 kB / 1.356 GB, free: 4.566 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.955, allocations: 106 kB / 1.356 GB, free: 4.453 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9562, allocations: 176 kB / 1.356 GB, free: 4.281 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.9566, allocations: 319.9 kB / 1.357 GB, free: 3.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.9566, allocations: 150.6 kB / 1.357 GB, free: 3.781 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.9567, allocations: 158.5 kB / 1.357 GB, free: 3.625 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.462e-05/0.9568, allocations: 101 kB / 1.357 GB, free: 3.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.9568, allocations: 79.27 kB / 1.357 GB, free: 3.441 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.9568, allocations: 154.6 kB / 1.357 GB, free: 3.289 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.9569, allocations: 154.6 kB / 1.357 GB, free: 3.137 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927e-05/0.957, allocations: 150.6 kB / 1.358 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.9573, allocations: 0.5056 MB / 1.358 GB, free: 2.434 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.629e-05/0.9574, allocations: 181.1 kB / 1.358 GB, free: 2.246 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.9575, allocations: 80.14 kB / 1.358 GB, free: 2.164 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.9575, allocations: 75.28 kB / 1.358 GB, free: 2.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.9575, allocations: 105.8 kB / 1.359 GB, free: 1.977 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.9575, allocations: 3.938 kB / 1.359 GB, free: 1.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0003/0.9578, allocations: 69.52 kB / 1.359 GB, free: 1.898 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.9579, allocations: 126.7 kB / 1.359 GB, free: 1.762 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.9582, allocations: 223.1 kB / 1.359 GB, free: 1.531 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.9582, allocations: 25.7 kB / 1.359 GB, free: 1.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.9583, allocations: 108 kB / 1.359 GB, free: 1.391 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.9583, allocations: 0 / 1.359 GB, free: 1.391 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.9584, allocations: 25.72 kB / 1.359 GB, free: 1.359 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.9585, allocations: 322.8 kB / 1.359 GB, free: 1.035 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.9585, allocations: 24.84 kB / 1.359 GB, free: 1.008 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.9586, allocations: 20 kB / 1.359 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.9587, allocations: 24.86 kB / 1.359 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9587, allocations: 4 kB / 1.359 GB, free: 0.957 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006212/0.9593, allocations: 138.3 kB / 1.36 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.9593, allocations: 4 kB / 1.36 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9593, allocations: 3.938 kB / 1.36 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000776/0.9601, allocations: 148.6 kB / 1.36 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.9602, allocations: 4 kB / 1.36 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.9623, allocations: 1.609 MB / 1.361 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.9625, allocations: 8.031 kB / 1.361 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.9625, allocations: 4 kB / 1.361 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.217e-05/0.9626, allocations: 96.33 kB / 1.361 GB, free: 14.79 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.676e-05/0.9627, allocations: 19.98 kB / 1.361 GB, free: 14.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.565e-05/0.9627, allocations: 28.86 kB / 1.361 GB, free: 14.74 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.9627, allocations: 0 / 1.361 GB, free: 14.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002422/0.963, allocations: 106.3 kB / 1.362 GB, free: 14.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.963, allocations: 8 kB / 1.362 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.963, allocations: 0 / 1.362 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.9634, allocations: 112.7 kB / 1.362 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.9634, allocations: 4 kB / 1.362 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.9645, allocations: 1.469 MB / 1.363 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.9647, allocations: 7.969 kB / 1.363 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.9647, allocations: 4.031 kB / 1.363 GB, free: 12.88 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.0001068/0.9648, allocations: 255.5 kB / 1.363 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.9649, allocations: 120.8 kB / 1.363 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.9649, allocations: 113.5 kB / 1.364 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/0.965, allocations: 188.3 kB / 1.364 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.131e-05/0.9651, allocations: 180.2 kB / 1.364 GB, free: 12.01 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/0.9651, allocations: 176.3 kB / 1.364 GB, free: 11.83 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.9654, allocations: 449.1 kB / 1.365 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/0.9654, allocations: 101 kB / 1.365 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.9654, allocations: 109 kB / 1.365 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-05/0.9655, allocations: 184.3 kB / 1.365 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.9655, allocations: 184.3 kB / 1.365 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.339e-05/0.9656, allocations: 180.2 kB / 1.365 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-05/0.9657, allocations: 180.3 kB / 1.365 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.9658, allocations: 327.5 kB / 1.366 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.9659, allocations: 198 kB / 1.366 GB, free: 9.809 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.966, allocations: 184.1 kB / 1.366 GB, free: 9.621 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.9662, allocations: 109 kB / 1.366 GB, free: 9.508 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.9662, allocations: 176.3 kB / 1.366 GB, free: 9.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.9663, allocations: 112.9 kB / 1.366 GB, free: 9.211 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001865/0.9665, allocations: 161.2 kB / 1.367 GB, free: 9.055 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9665, allocations: 0 / 1.367 GB, free: 9.055 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004198/0.9669, allocations: 68 kB / 1.367 GB, free: 8.988 MB / 1.092 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.0005073/0.9674, allocations: 0.8516 MB / 1.368 GB, free: 8.109 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.968, allocations: 309.2 kB / 1.368 GB, free: 7.781 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.968, allocations: 4 kB / 1.368 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.968, allocations: 0 / 1.368 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.9684, allocations: 475.7 kB / 1.368 GB, free: 7.309 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.9713, allocations: 2.065 MB / 1.37 GB, free: 5.16 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.9715, allocations: 0.7046 MB / 1.371 GB, free: 4.43 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 8.389e-05/0.9716, allocations: 16.48 kB / 1.371 GB, free: 4.414 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.9717, allocations: 27.42 kB / 1.371 GB, free: 4.387 MB / 1.092 GB Notification: Performance of SimCode: time 5.21e-07/0.9717, allocations: 4 kB / 1.371 GB, free: 4.383 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.9964, allocations: 4.732 MB / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.51, allocations: 5.562 kB / 1.376 GB, free: 15.84 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)