Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.001287/0.001287, 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.001351/0.001351, allocations: 195 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5198/0.5213, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.002251/0.5236, allocations: 1.714 MB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1407/0.6643, allocations: 148.4 MB / 1.096 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.6644, allocations: 0 / 1.096 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.6647, allocations: 45.94 kB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.6658, allocations: 434 kB / 1.097 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.6659, allocations: 67.75 kB / 1.097 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.6661, allocations: 143.4 kB / 1.097 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.6662, allocations: 9.391 kB / 1.097 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.6662, allocations: 51.86 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.6664, allocations: 67.75 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.6664, allocations: 11.94 kB / 1.097 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.6673, allocations: 0.4989 MB / 1.098 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.6673, allocations: 31.89 kB / 1.098 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.6674, allocations: 51.73 kB / 1.098 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.668, allocations: 371.1 kB / 1.098 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.668, allocations: 7.938 kB / 1.098 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.668, allocations: 0 / 1.098 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.668, allocations: 0 / 1.098 GB, free: 9.379 MB / 0.8575 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.000623/0.6686, allocations: 474.8 kB / 1.099 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6687, allocations: 12.02 kB / 1.099 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.6687, allocations: 106 kB / 1.099 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6699, allocations: 179.9 kB / 1.099 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.6702, allocations: 319.3 kB / 1.099 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.6703, allocations: 150.6 kB / 1.099 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.6703, allocations: 154.6 kB / 1.099 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.885e-05/0.6704, allocations: 108.9 kB / 1.1 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6704, allocations: 79.28 kB / 1.1 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.6705, allocations: 150.6 kB / 1.1 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.6705, allocations: 150.6 kB / 1.1 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.6706, allocations: 158.5 kB / 1.1 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.6709, allocations: 0.5134 MB / 1.101 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/0.671, allocations: 173.1 kB / 1.101 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.671, allocations: 84.08 kB / 1.101 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.671, allocations: 75.28 kB / 1.101 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6711, allocations: 105.8 kB / 1.101 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.6711, allocations: 4 kB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0002933/0.6714, allocations: 65.48 kB / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.6714, allocations: 130.6 kB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.6717, allocations: 219.1 kB / 1.101 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.6717, allocations: 25.7 kB / 1.101 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.6718, allocations: 104.1 kB / 1.101 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.6718, allocations: 4 kB / 1.101 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.6719, allocations: 21.72 kB / 1.101 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.6719, allocations: 322.8 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.672, allocations: 24.84 kB / 1.102 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.672, allocations: 16 kB / 1.102 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.6721, allocations: 28.86 kB / 1.102 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6721, allocations: 3.938 kB / 1.102 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006046/0.6727, allocations: 142.4 kB / 1.102 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6728, allocations: 5.562 kB / 1.102 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6728, allocations: 0 / 1.102 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007763/0.6735, allocations: 144.7 kB / 1.102 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.6736, allocations: 15.92 kB / 1.102 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.6755, allocations: 1.603 MB / 1.104 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.6757, allocations: 15.94 kB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6757, allocations: 4 kB / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.136e-05/0.6758, allocations: 96.14 kB / 1.104 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.329e-05/0.6758, allocations: 19.98 kB / 1.104 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.764e-05/0.6759, allocations: 28.86 kB / 1.104 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.6759, allocations: 0 / 1.104 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002257/0.6761, allocations: 102.5 kB / 1.104 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.6761, allocations: 8 kB / 1.104 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-06/0.6761, allocations: 4 kB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/0.6765, allocations: 112.8 kB / 1.104 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.6765, allocations: 8 kB / 1.104 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.6776, allocations: 1.453 MB / 1.106 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.6778, allocations: 11.95 kB / 1.106 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.6778, allocations: 64 / 1.106 GB, free: 1.176 MB / 0.8575 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 9.357e-05/0.6779, allocations: 259.5 kB / 1.106 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.678, allocations: 120.9 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.678, allocations: 121.5 kB / 1.106 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/0.6781, allocations: 180.2 kB / 1.106 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.757e-05/0.6781, allocations: 180.2 kB / 1.106 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.596e-05/0.6782, allocations: 180.3 kB / 1.107 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.6784, allocations: 445.2 kB / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.6785, allocations: 108.9 kB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.6785, allocations: 101 kB / 1.107 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.021e-05/0.6785, allocations: 184.2 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.6786, allocations: 188.2 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.69e-05/0.6787, allocations: 180.3 kB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.866e-05/0.6787, allocations: 184.2 kB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.6788, allocations: 311.7 kB / 1.108 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.6789, allocations: 209.9 kB / 1.108 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.679, allocations: 176.3 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.6792, allocations: 112.9 kB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.6792, allocations: 176.3 kB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.6793, allocations: 108.9 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001884/0.6795, allocations: 160.1 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6795, allocations: 4 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004059/0.6799, allocations: 68 kB / 1.109 GB, free: 13.28 MB / 0.8731 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.0004494/0.6804, allocations: 0.8592 MB / 1.11 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.6809, allocations: 301.4 kB / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6809, allocations: 0 / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.6809, allocations: 0 / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.6813, allocations: 485.6 kB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.6841, allocations: 2.058 MB / 1.113 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.6843, allocations: 0.7083 MB / 1.113 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.961e-05/0.6844, allocations: 12.55 kB / 1.113 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.6844, allocations: 27.42 kB / 1.113 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6845, allocations: 0 / 1.113 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.7067, allocations: 4.656 MB / 1.118 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.6, allocations: 8.25 kB / 1.118 GB, free: 4.184 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1)