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.006591/0.006591, allocations: 100.1 kB / 15.73 MB, free: 6.016 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.001602/0.001602, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.073/2.073, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6338, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.002436/0.6363, allocations: 1.716 MB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1512/0.7875, allocations: 148.4 MB / 1.234 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.7876, allocations: 0 / 1.234 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.7879, allocations: 47.84 kB / 1.234 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.7891, allocations: 447.4 kB / 1.235 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.7893, allocations: 67.12 kB / 1.235 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.7895, allocations: 141.7 kB / 1.235 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.7896, allocations: 11.97 kB / 1.235 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.7896, allocations: 52.31 kB / 1.235 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.7898, allocations: 68.19 kB / 1.235 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.7898, allocations: 8.781 kB / 1.235 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009638/0.7908, allocations: 0.5043 MB / 1.235 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.7908, allocations: 31.36 kB / 1.235 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.7909, allocations: 50.3 kB / 1.235 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.7916, allocations: 378.3 kB / 1.236 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7916, allocations: 1.125 kB / 1.236 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7916, allocations: 4 kB / 1.236 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7916, allocations: 0 / 1.236 GB, free: 3.496 MB / 0.9669 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.0007004/0.7923, allocations: 483 kB / 1.236 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7924, allocations: 12.55 kB / 1.236 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.7924, allocations: 107.2 kB / 1.236 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.7936, allocations: 180.4 kB / 1.237 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.7939, allocations: 313.8 kB / 1.237 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.794, allocations: 151.8 kB / 1.237 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.794, allocations: 159.6 kB / 1.237 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.302e-05/0.7941, allocations: 106.2 kB / 1.237 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.7941, allocations: 75.28 kB / 1.237 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.7942, allocations: 151.7 kB / 1.238 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.7942, allocations: 150.6 kB / 1.238 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/0.7943, allocations: 151.8 kB / 1.238 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.7946, allocations: 0.5217 MB / 1.238 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.7947, allocations: 170.4 kB / 1.238 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.7947, allocations: 80.14 kB / 1.239 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.7948, allocations: 79.27 kB / 1.239 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.7948, allocations: 110.9 kB / 1.239 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.7948, allocations: 0 / 1.239 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002947/0.7951, allocations: 64.66 kB / 1.239 GB, free: 496 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7952, allocations: 127.9 kB / 1.239 GB, free: 356 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.7955, allocations: 217.2 kB / 1.239 GB, free: 192 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.7955, allocations: 30.83 kB / 1.239 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.7956, allocations: 108.4 kB / 1.239 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.7956, allocations: 0 / 1.239 GB, free: 48 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.7956, allocations: 20.09 kB / 1.239 GB, free: 28 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7957, allocations: 330 kB / 1.24 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.7958, allocations: 29.47 kB / 1.24 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.7958, allocations: 13.05 kB / 1.24 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.7959, allocations: 36.14 kB / 1.24 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7959, allocations: 0 / 1.24 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005976/0.7965, allocations: 135.5 kB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7965, allocations: 5.719 kB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7966, allocations: 3.984 kB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/0.7973, allocations: 149.1 kB / 1.24 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.7974, allocations: 8.516 kB / 1.24 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.7993, allocations: 1.602 MB / 1.242 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.7995, allocations: 11.2 kB / 1.242 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.7995, allocations: 6.156 kB / 1.242 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.612e-05/0.7996, allocations: 98.17 kB / 1.242 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.292e-05/0.7996, allocations: 20.39 kB / 1.242 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.599e-05/0.7997, allocations: 23.42 kB / 1.242 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.045e-06/0.7997, allocations: 3.938 kB / 1.242 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002343/0.7999, allocations: 107.9 kB / 1.242 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.7999, allocations: 5.688 kB / 1.242 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.7999, allocations: 0 / 1.242 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.8003, allocations: 111.7 kB / 1.242 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.162e-05/0.8004, allocations: 5.5 kB / 1.242 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.8014, allocations: 1.456 MB / 1.243 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.8016, allocations: 10.69 kB / 1.243 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.8016, allocations: 5.375 kB / 1.243 GB, free: 12.09 MB / 0.9825 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.858e-05/0.8017, allocations: 258.4 kB / 1.244 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.8018, allocations: 113 kB / 1.244 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.8018, allocations: 117.6 kB / 1.244 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-05/0.8019, allocations: 181.6 kB / 1.244 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-05/0.8019, allocations: 181.7 kB / 1.244 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/0.802, allocations: 180.2 kB / 1.244 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.8022, allocations: 455 kB / 1.245 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/0.8023, allocations: 110.3 kB / 1.245 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.8023, allocations: 102.4 kB / 1.245 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-05/0.8024, allocations: 188.1 kB / 1.245 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.8024, allocations: 181.6 kB / 1.245 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.202e-05/0.8025, allocations: 181.6 kB / 1.245 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-05/0.8025, allocations: 181.6 kB / 1.246 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.8027, allocations: 322.5 kB / 1.246 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8028, allocations: 198.1 kB / 1.246 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.8029, allocations: 181.6 kB / 1.246 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.803, allocations: 111.7 kB / 1.246 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.8031, allocations: 177.6 kB / 1.247 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.8031, allocations: 108.9 kB / 1.247 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001872/0.8033, allocations: 166.9 kB / 1.247 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8033, allocations: 0 / 1.247 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004135/0.8038, allocations: 65.62 kB / 1.247 GB, free: 8.34 MB / 0.9825 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.0004702/0.8042, allocations: 0.849 MB / 1.248 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.8047, allocations: 308.2 kB / 1.248 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8048, allocations: 0 / 1.248 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.8048, allocations: 1.375 kB / 1.248 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.8052, allocations: 486.4 kB / 1.249 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.8079, allocations: 2.072 MB / 1.251 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.8081, allocations: 0.7002 MB / 1.251 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.8082, allocations: 19.08 kB / 1.251 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.8083, allocations: 23.81 kB / 1.251 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.8083, allocations: 0 / 1.251 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.8317, allocations: 4.738 MB / 1.256 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.48, allocations: 17.67 kB / 1.256 GB, free: 0.6055 MB / 0.9825 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)