Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",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.001127/0.001127, allocations: 104 kB / 15.6 MB, free: 148 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.001346/0.001346, allocations: 195.9 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.4 MB, free: 4.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 71.03 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2384, allocations: 114.5 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00421/0.2427, allocations: 2.898 MB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.2459, allocations: 2.252 MB / 0.7885 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2461, allocations: 4 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.2468, allocations: 258.8 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.247, allocations: 75.28 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.2481, allocations: 485.3 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.2486, allocations: 0.5103 MB / 0.7898 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2487, allocations: 56.72 kB / 0.7899 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2489, allocations: 199.4 kB / 0.79 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.2492, allocations: 207.3 kB / 0.7902 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.2493, allocations: 43.94 kB / 0.7903 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.2497, allocations: 247.7 kB / 0.7905 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2499, allocations: 155.6 kB / 0.7907 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.2501, allocations: 218.9 kB / 0.7909 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.2508, allocations: 0.7517 MB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2508, allocations: 4 kB / 0.7916 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2509, allocations: 0 / 0.7916 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2509, allocations: 0 / 0.7916 GB, free: 4.961 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001319/0.2522, allocations: 0.8321 MB / 0.7924 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2522, allocations: 12.03 kB / 0.7924 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.2523, allocations: 46.73 kB / 0.7925 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.2545, allocations: 232.1 kB / 0.7927 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.2551, allocations: 422 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.2552, allocations: 87.7 kB / 0.7932 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.2553, allocations: 15.98 kB / 0.7932 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.2566, allocations: 0.5318 MB / 0.7937 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2566, allocations: 0 / 0.7937 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.2567, allocations: 8 kB / 0.7937 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2567, allocations: 3.938 kB / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.2589, allocations: 0.7572 MB / 0.7945 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.2613, allocations: 1.276 MB / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005324/0.2666, allocations: 1.017 MB / 0.7967 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009971/0.2676, allocations: 392.6 kB / 0.7971 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.2677, allocations: 7.984 kB / 0.7971 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.2689, allocations: 0.5402 MB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 3.096e-06/0.269, allocations: 0 / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003356/0.2723, allocations: 1.176 MB / 0.7988 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2724, allocations: 55.41 kB / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.2731, allocations: 0.5175 MB / 0.7993 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/0.2732, allocations: 33.7 kB / 0.7994 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.2734, allocations: 204.4 kB / 0.7996 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.06e-05/0.2735, allocations: 67.09 kB / 0.7996 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.2737, allocations: 61.67 kB / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2738, allocations: 362.7 kB / 0.8 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.275, allocations: 472.5 kB / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.2761, allocations: 0.4995 MB / 0.801 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.2781, allocations: 0.752 MB / 0.8017 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2781, allocations: 0 / 0.8017 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002503/0.2806, allocations: 1.098 MB / 0.8028 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.2807, allocations: 38.62 kB / 0.8028 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2807, allocations: 4 kB / 0.8028 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2808, allocations: 4 kB / 0.8028 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.2814, allocations: 91.77 kB / 0.8029 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.2814, allocations: 8 kB / 0.8029 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.282, allocations: 63.77 kB / 0.803 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.2821, allocations: 11.98 kB / 0.803 GB, free: 9.035 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0003165/0.2824, allocations: 213.8 kB / 0.8032 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.2825, allocations: 43.47 kB / 0.8032 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.2826, allocations: 51.91 kB / 0.8033 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2826, allocations: 7.938 kB / 0.8033 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2826, allocations: 0 / 0.8033 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2826, allocations: 0 / 0.8033 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.2833, allocations: 0.6417 MB / 0.8039 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2833, allocations: 3.938 kB / 0.8039 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.2839, allocations: 83.89 kB / 0.804 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2839, allocations: 7.984 kB / 0.804 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.284, allocations: 15.98 kB / 0.804 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.284, allocations: 0 / 0.804 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.284, allocations: 0 / 0.804 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.2862, allocations: 0.8397 MB / 0.8048 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.2865, allocations: 188.4 kB / 0.805 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.2866, allocations: 11.94 kB / 0.805 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.2871, allocations: 63.92 kB / 0.8051 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.2872, allocations: 19.97 kB / 0.8051 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.2873, allocations: 19.97 kB / 0.8051 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004698/0.2878, allocations: 391.1 kB / 0.8055 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2878, allocations: 0 / 0.8055 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004562/0.2882, allocations: 99.91 kB / 0.8056 GB, free: 6.254 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002807/0.291, allocations: 1.437 MB / 0.807 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.2935, allocations: 0.9675 MB / 0.8079 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2935, allocations: 0 / 0.8079 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.2946, allocations: 419.6 kB / 0.8083 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.2952, allocations: 88.67 kB / 0.8084 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.3084, allocations: 7.4 MB / 0.8157 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.309, allocations: 0.8503 MB / 0.8165 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006071/0.3097, allocations: 138.9 kB / 0.8166 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.3099, allocations: 135.4 kB / 0.8168 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.31, allocations: 0 / 0.8168 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3434, allocations: 13.24 MB / 0.8297 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.392, allocations: 17.66 kB / 0.8297 GB, free: 13.7 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)