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.004832/0.004832, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001114/0.001114, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.239/2.239, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.81 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2255, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.002539/0.2281, allocations: 1.711 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1408/0.3689, allocations: 148.4 MB / 1.234 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.369, allocations: 0 / 1.234 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.3692, allocations: 46.55 kB / 1.234 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.3704, allocations: 434 kB / 1.235 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.3705, allocations: 63.81 kB / 1.235 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.3708, allocations: 143.4 kB / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.3708, allocations: 13.39 kB / 1.235 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.3709, allocations: 51.78 kB / 1.235 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.371, allocations: 67.75 kB / 1.235 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3711, allocations: 8 kB / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008991/0.372, allocations: 0.5067 MB / 1.235 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.372, allocations: 31.89 kB / 1.235 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.3721, allocations: 47.73 kB / 1.235 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.3727, allocations: 375.9 kB / 1.236 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3727, allocations: 0 / 1.236 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3727, allocations: 0 / 1.236 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.3727, allocations: 0 / 1.236 GB, free: 9.461 MB / 0.9981 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.0006767/0.3734, allocations: 482.7 kB / 1.236 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3734, allocations: 12.03 kB / 1.236 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.3735, allocations: 106 kB / 1.236 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.3747, allocations: 172 kB / 1.237 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.375, allocations: 327 kB / 1.237 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.375, allocations: 150.6 kB / 1.237 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.3751, allocations: 158.5 kB / 1.237 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.556e-05/0.3752, allocations: 105 kB / 1.237 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.3752, allocations: 75.28 kB / 1.237 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.3753, allocations: 154.6 kB / 1.238 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.3753, allocations: 158.5 kB / 1.238 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.3754, allocations: 154.5 kB / 1.238 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.3757, allocations: 0.5095 MB / 1.238 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.824e-05/0.3758, allocations: 173.1 kB / 1.238 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.3759, allocations: 80.19 kB / 1.239 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3759, allocations: 79.28 kB / 1.239 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.3759, allocations: 105.8 kB / 1.239 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3759, allocations: 0 / 1.239 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0002918/0.3762, allocations: 69.52 kB / 1.239 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.3763, allocations: 126.7 kB / 1.239 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.3766, allocations: 219.1 kB / 1.239 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3766, allocations: 29.7 kB / 1.239 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.3767, allocations: 108 kB / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.3767, allocations: 0 / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3767, allocations: 17.72 kB / 1.239 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3769, allocations: 330.8 kB / 1.24 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.3769, allocations: 24.84 kB / 1.24 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.377, allocations: 12 kB / 1.24 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/0.377, allocations: 28.86 kB / 1.24 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.377, allocations: 0 / 1.24 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005935/0.3776, allocations: 142.3 kB / 1.24 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3777, allocations: 4 kB / 1.24 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3777, allocations: 0 / 1.24 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007566/0.3784, allocations: 148.6 kB / 1.24 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.3785, allocations: 8.172 kB / 1.24 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.3804, allocations: 1.609 MB / 1.242 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3806, allocations: 8.016 kB / 1.242 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3806, allocations: 7.938 kB / 1.242 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.679e-05/0.3807, allocations: 96.14 kB / 1.242 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.195e-05/0.3808, allocations: 19.98 kB / 1.242 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.441e-05/0.3808, allocations: 24.86 kB / 1.242 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.3808, allocations: 3.938 kB / 1.242 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002311/0.3811, allocations: 106.4 kB / 1.242 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3811, allocations: 8 kB / 1.242 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.3811, allocations: 3.938 kB / 1.242 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.3814, allocations: 108.7 kB / 1.242 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.3815, allocations: 4 kB / 1.242 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3826, allocations: 1.465 MB / 1.243 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3828, allocations: 8.047 kB / 1.243 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.3828, allocations: 8.031 kB / 1.243 GB, free: 1.242 MB / 0.9981 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.0001048/0.3829, allocations: 251.7 kB / 1.244 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.383, allocations: 120.8 kB / 1.244 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.383, allocations: 117.5 kB / 1.244 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.773e-05/0.3831, allocations: 184.3 kB / 1.244 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-05/0.3832, allocations: 180.2 kB / 1.244 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.205e-05/0.3832, allocations: 176.3 kB / 1.244 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3835, allocations: 453 kB / 1.245 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/0.3835, allocations: 101 kB / 1.245 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.3836, allocations: 105 kB / 1.245 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.023e-05/0.3836, allocations: 184.2 kB / 1.245 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.3837, allocations: 184.3 kB / 1.245 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.3838, allocations: 184.2 kB / 1.245 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-05/0.3838, allocations: 176.3 kB / 1.246 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.384, allocations: 327.5 kB / 1.246 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3841, allocations: 194 kB / 1.246 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.3842, allocations: 180.2 kB / 1.246 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3843, allocations: 109 kB / 1.246 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.3844, allocations: 180.2 kB / 1.247 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.3845, allocations: 105 kB / 1.247 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001977/0.3847, allocations: 168.1 kB / 1.247 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3847, allocations: 0 / 1.247 GB, free: 13.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004052/0.3851, allocations: 60 kB / 1.247 GB, free: 13.36 MB / 1.014 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.0005136/0.3856, allocations: 0.8558 MB / 1.248 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.3861, allocations: 301.3 kB / 1.248 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3861, allocations: 3.938 kB / 1.248 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.3862, allocations: 4 kB / 1.248 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.3866, allocations: 491.8 kB / 1.249 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.3895, allocations: 2.065 MB / 1.251 GB, free: 9.516 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3897, allocations: 0.7006 MB / 1.251 GB, free: 8.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.634e-05/0.3898, allocations: 16.55 kB / 1.251 GB, free: 8.773 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.3899, allocations: 23.44 kB / 1.251 GB, free: 8.75 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3899, allocations: 0 / 1.251 GB, free: 8.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4133, allocations: 4.733 MB / 1.256 GB, free: 4.211 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.31, allocations: 9.125 kB / 1.256 GB, free: 4.203 MB / 1.014 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)