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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007746/0.007746, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001778/0.001778, allocations: 192.1 kB / 16.67 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.681/2.681, allocations: 472.7 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2569, allocations: 159.9 MB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002651/0.2596, allocations: 1.7 MB / 1.227 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6929/0.9525, allocations: 148.4 MB / 1.372 GB, free: 9.516 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.9526, allocations: 1.125 kB / 1.372 GB, free: 9.516 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.9529, allocations: 49.34 kB / 1.372 GB, free: 9.488 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.9541, allocations: 443.5 kB / 1.372 GB, free: 9.266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.9542, allocations: 54.59 kB / 1.372 GB, free: 9.242 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.9545, allocations: 150.7 kB / 1.372 GB, free: 9.168 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.9545, allocations: 21.22 kB / 1.373 GB, free: 9.156 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.9546, allocations: 51.14 kB / 1.373 GB, free: 9.137 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.9548, allocations: 75.44 kB / 1.373 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.9548, allocations: 9.781 kB / 1.373 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.9558, allocations: 0.509 MB / 1.373 GB, free: 8.914 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.9559, allocations: 24.05 kB / 1.373 GB, free: 8.898 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.9559, allocations: 52.77 kB / 1.373 GB, free: 8.871 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.9566, allocations: 370.2 kB / 1.374 GB, free: 8.762 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.9566, allocations: 1.406 kB / 1.374 GB, free: 8.762 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9566, allocations: 0 / 1.374 GB, free: 8.762 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9567, allocations: 0 / 1.374 GB, free: 8.762 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.0007284/0.9574, allocations: 484.8 kB / 1.374 GB, free: 8.316 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.9574, allocations: 14.58 kB / 1.374 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.9575, allocations: 110 kB / 1.374 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.9587, allocations: 178.1 kB / 1.374 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.959, allocations: 317.9 kB / 1.375 GB, free: 7.797 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.9591, allocations: 163.8 kB / 1.375 GB, free: 7.637 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.9591, allocations: 151.9 kB / 1.375 GB, free: 7.488 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.9592, allocations: 102.2 kB / 1.375 GB, free: 7.383 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.9592, allocations: 75.28 kB / 1.375 GB, free: 7.309 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.9593, allocations: 154.9 kB / 1.375 GB, free: 7.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.9594, allocations: 154.6 kB / 1.375 GB, free: 7.008 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.309e-05/0.9594, allocations: 150.6 kB / 1.376 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.9598, allocations: 0.5158 MB / 1.376 GB, free: 6.344 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.9599, allocations: 166.5 kB / 1.376 GB, free: 6.172 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.9599, allocations: 84.14 kB / 1.376 GB, free: 6.086 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.9599, allocations: 80.38 kB / 1.376 GB, free: 6.008 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.96, allocations: 108.3 kB / 1.376 GB, free: 5.895 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.96, allocations: 1.469 kB / 1.376 GB, free: 5.895 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0002942/0.9603, allocations: 60.81 kB / 1.377 GB, free: 5.852 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.9604, allocations: 132 kB / 1.377 GB, free: 5.711 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.9607, allocations: 212.4 kB / 1.377 GB, free: 5.574 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.9607, allocations: 29.7 kB / 1.377 GB, free: 5.539 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.9608, allocations: 100.8 kB / 1.377 GB, free: 5.445 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.9608, allocations: 0 / 1.377 GB, free: 5.445 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.9608, allocations: 22.97 kB / 1.377 GB, free: 5.426 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9609, allocations: 329 kB / 1.377 GB, free: 5.102 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.961, allocations: 22.88 kB / 1.377 GB, free: 5.086 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.961, allocations: 18.92 kB / 1.377 GB, free: 5.078 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.9611, allocations: 30 kB / 1.377 GB, free: 5.059 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9611, allocations: 0 / 1.377 GB, free: 5.059 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006036/0.9617, allocations: 145.8 kB / 1.378 GB, free: 4.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9618, allocations: 6.047 kB / 1.378 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.9618, allocations: 0 / 1.378 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/0.9625, allocations: 147.8 kB / 1.378 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.9626, allocations: 7.234 kB / 1.378 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.9646, allocations: 1.61 MB / 1.379 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.9647, allocations: 5.047 kB / 1.379 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.9648, allocations: 2.688 kB / 1.379 GB, free: 3.434 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.134e-05/0.9648, allocations: 105.8 kB / 1.379 GB, free: 3.336 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.764e-05/0.9649, allocations: 13.56 kB / 1.379 GB, free: 3.332 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.893e-05/0.9649, allocations: 27.02 kB / 1.379 GB, free: 3.316 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.965, allocations: 0 / 1.379 GB, free: 3.316 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002351/0.9652, allocations: 112.8 kB / 1.379 GB, free: 3.242 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.9652, allocations: 10.84 kB / 1.379 GB, free: 3.238 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.9652, allocations: 1.156 kB / 1.379 GB, free: 3.238 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.9656, allocations: 111 kB / 1.38 GB, free: 3.215 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.9656, allocations: 5.594 kB / 1.38 GB, free: 3.215 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.9668, allocations: 1.468 MB / 1.381 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.967, allocations: 7 kB / 1.381 GB, free: 1.758 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.967, allocations: 1.281 kB / 1.381 GB, free: 1.758 MB / 1.076 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.0001139/0.9671, allocations: 259.9 kB / 1.381 GB, free: 1.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.9672, allocations: 118.8 kB / 1.381 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.9673, allocations: 118.2 kB / 1.382 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/0.9673, allocations: 177.7 kB / 1.382 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-05/0.9674, allocations: 187.3 kB / 1.382 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/0.9675, allocations: 177.4 kB / 1.382 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.9677, allocations: 450.2 kB / 1.382 GB, free: 260 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/0.9678, allocations: 101 kB / 1.383 GB, free: 152 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.9678, allocations: 106.5 kB / 1.383 GB, free: 40 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.9679, allocations: 187.2 kB / 1.383 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.9679, allocations: 181.5 kB / 1.383 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.746e-05/0.968, allocations: 182.7 kB / 1.383 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.988e-05/0.9681, allocations: 177.7 kB / 1.383 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.9682, allocations: 321.6 kB / 1.384 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.9683, allocations: 198.2 kB / 1.384 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.9684, allocations: 185.7 kB / 1.384 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.9686, allocations: 110.1 kB / 1.384 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.9687, allocations: 177.6 kB / 1.384 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.9687, allocations: 112.6 kB / 1.384 GB, free: 14.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001945/0.9689, allocations: 169.2 kB / 1.385 GB, free: 14.07 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9689, allocations: 0 / 1.385 GB, free: 14.07 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004307/0.9694, allocations: 67.8 kB / 1.385 GB, free: 14.06 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.0005164/0.9699, allocations: 0.8548 MB / 1.385 GB, free: 13.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.9704, allocations: 311.1 kB / 1.386 GB, free: 12.97 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9704, allocations: 0 / 1.386 GB, free: 12.97 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.9704, allocations: 1.188 kB / 1.386 GB, free: 12.97 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.9709, allocations: 485.6 kB / 1.386 GB, free: 12.51 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.9738, allocations: 2.058 MB / 1.388 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.974, allocations: 0.6966 MB / 1.389 GB, free: 10.21 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.9741, allocations: 21.44 kB / 1.389 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.9742, allocations: 26.47 kB / 1.389 GB, free: 10.18 MB / 1.092 GB Notification: Performance of SimCode: time 2.6e-07/0.9742, allocations: 0 / 1.389 GB, free: 10.18 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.9994, allocations: 4.732 MB / 1.394 GB, free: 7.957 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.32, allocations: 9.047 kB / 1.394 GB, free: 7.949 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)