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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.001051/0.001051, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.554/2.554, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5061, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00279/0.5089, allocations: 1.693 MB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1457/0.6546, allocations: 148.4 MB / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.6547, allocations: 0 / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.6549, allocations: 47.73 kB / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.656, allocations: 437.9 kB / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.6562, allocations: 55.88 kB / 1.165 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.6564, allocations: 143.3 kB / 1.165 GB, free: 11.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.6565, allocations: 13.41 kB / 1.165 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.6565, allocations: 55.83 kB / 1.165 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.6567, allocations: 59.77 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.6567, allocations: 8 kB / 1.165 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.6577, allocations: 0.5145 MB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.6577, allocations: 15.92 kB / 1.165 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.6578, allocations: 59.72 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.6584, allocations: 375 kB / 1.166 GB, free: 9.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6584, allocations: 4 kB / 1.166 GB, free: 9.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6584, allocations: 0 / 1.166 GB, free: 9.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.6584, allocations: 4 kB / 1.166 GB, free: 9.984 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.0006894/0.6591, allocations: 482.7 kB / 1.166 GB, free: 9.465 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6591, allocations: 8.031 kB / 1.166 GB, free: 9.457 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.6592, allocations: 106 kB / 1.166 GB, free: 9.344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.6604, allocations: 183.8 kB / 1.166 GB, free: 9.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.6607, allocations: 316 kB / 1.167 GB, free: 8.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.6608, allocations: 150.6 kB / 1.167 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.6608, allocations: 158.5 kB / 1.167 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.405e-05/0.6609, allocations: 112.9 kB / 1.167 GB, free: 8.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.6609, allocations: 75.28 kB / 1.167 GB, free: 8.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.661, allocations: 150.6 kB / 1.167 GB, free: 8.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.661, allocations: 150.6 kB / 1.168 GB, free: 8.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.6611, allocations: 154.6 kB / 1.168 GB, free: 7.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.6614, allocations: 0.5134 MB / 1.168 GB, free: 7.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/0.6615, allocations: 181.1 kB / 1.168 GB, free: 7.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.6615, allocations: 80.14 kB / 1.168 GB, free: 7.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.6616, allocations: 75.28 kB / 1.169 GB, free: 6.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.6616, allocations: 109.8 kB / 1.169 GB, free: 6.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6616, allocations: 0 / 1.169 GB, free: 6.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.000293/0.6619, allocations: 57.5 kB / 1.169 GB, free: 6.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.662, allocations: 138.6 kB / 1.169 GB, free: 6.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.6623, allocations: 215.1 kB / 1.169 GB, free: 6.418 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.6623, allocations: 29.7 kB / 1.169 GB, free: 6.383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.6623, allocations: 100.1 kB / 1.169 GB, free: 6.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.6624, allocations: 0 / 1.169 GB, free: 6.281 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.6624, allocations: 25.7 kB / 1.169 GB, free: 6.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6625, allocations: 326.8 kB / 1.169 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.6626, allocations: 20.86 kB / 1.17 GB, free: 5.898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.6626, allocations: 15.98 kB / 1.17 GB, free: 5.883 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.6627, allocations: 24.86 kB / 1.17 GB, free: 5.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6627, allocations: 4 kB / 1.17 GB, free: 5.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006021/0.6633, allocations: 142.5 kB / 1.17 GB, free: 5.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6633, allocations: 7.984 kB / 1.17 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6633, allocations: 0 / 1.17 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/0.6641, allocations: 144.7 kB / 1.17 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.6642, allocations: 4 kB / 1.17 GB, free: 5.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.6662, allocations: 1.617 MB / 1.171 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.6664, allocations: 12 kB / 1.171 GB, free: 3.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6664, allocations: 15.92 kB / 1.171 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.79e-05/0.6665, allocations: 100.1 kB / 1.172 GB, free: 3.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.94e-05/0.6665, allocations: 12 kB / 1.172 GB, free: 3.652 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.632e-05/0.6665, allocations: 28.84 kB / 1.172 GB, free: 3.621 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.72e-07/0.6666, allocations: 0 / 1.172 GB, free: 3.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002343/0.6668, allocations: 106.3 kB / 1.172 GB, free: 3.508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.6668, allocations: 12 kB / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.6668, allocations: 0 / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.6672, allocations: 108.7 kB / 1.172 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/0.6672, allocations: 12.12 kB / 1.172 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6684, allocations: 1.465 MB / 1.173 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.6685, allocations: 64 / 1.173 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.6686, allocations: 8.031 kB / 1.173 GB, free: 1.766 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.0001077/0.6687, allocations: 260.3 kB / 1.173 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.6688, allocations: 116.7 kB / 1.174 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.6688, allocations: 113.6 kB / 1.174 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-05/0.6689, allocations: 184.2 kB / 1.174 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-05/0.6689, allocations: 192.2 kB / 1.174 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.969e-05/0.669, allocations: 176.3 kB / 1.174 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.6693, allocations: 445.2 kB / 1.175 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-05/0.6693, allocations: 104.9 kB / 1.175 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.6694, allocations: 101 kB / 1.175 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.26e-05/0.6694, allocations: 184.1 kB / 1.175 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.6695, allocations: 188.2 kB / 1.175 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-05/0.6696, allocations: 176.3 kB / 1.175 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.905e-05/0.6696, allocations: 180.2 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.6698, allocations: 315.7 kB / 1.176 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.6699, allocations: 202 kB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.67, allocations: 184.2 kB / 1.176 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.6702, allocations: 108.9 kB / 1.176 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.6703, allocations: 180.2 kB / 1.176 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.6703, allocations: 104.9 kB / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001986/0.6705, allocations: 165.2 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6705, allocations: 0 / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000408/0.6709, allocations: 71.98 kB / 1.177 GB, free: 13.88 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.0005093/0.6714, allocations: 0.8515 MB / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.672, allocations: 297.3 kB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.672, allocations: 3.938 kB / 1.178 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.672, allocations: 0 / 1.178 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.6725, allocations: 485.3 kB / 1.178 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.6754, allocations: 2.049 MB / 1.18 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.6756, allocations: 0.6967 MB / 1.181 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.187e-05/0.6757, allocations: 20.48 kB / 1.181 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.6758, allocations: 23.44 kB / 1.181 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.6758, allocations: 0 / 1.181 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.6999, allocations: 4.664 MB / 1.186 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.38, allocations: 22.97 kB / 1.186 GB, free: 4.773 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 & 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)