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.001142/0.001142, allocations: 101.4 kB / 15.7 MB, free: 28 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.001226/0.001226, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.701/1.701, allocations: 292.3 MB / 0.549 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.001389/0.001389, allocations: 71.19 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2054, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003969/0.2094, allocations: 2.91 MB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.2124, allocations: 2.245 MB / 0.7887 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2126, allocations: 0 / 0.7887 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.2133, allocations: 266.8 kB / 0.7889 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.2135, allocations: 67.3 kB / 0.789 GB, free: 7.773 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.001118/0.2146, allocations: 487.7 kB / 0.7895 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.2151, allocations: 0.5103 MB / 0.79 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2153, allocations: 52.72 kB / 0.79 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2155, allocations: 207.3 kB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2157, allocations: 203.3 kB / 0.7904 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.2158, allocations: 44 kB / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.2162, allocations: 255.7 kB / 0.7907 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.2164, allocations: 151.6 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.2166, allocations: 218.9 kB / 0.791 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.2173, allocations: 0.7517 MB / 0.7918 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2173, allocations: 0 / 0.7918 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2173, allocations: 0 / 0.7918 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.2174, allocations: 0 / 0.7918 GB, free: 4.926 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.001313/0.2187, allocations: 0.8399 MB / 0.7926 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2187, allocations: 8.031 kB / 0.7926 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.2188, allocations: 46.73 kB / 0.7927 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.2209, allocations: 232.1 kB / 0.7929 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.2215, allocations: 426 kB / 0.7933 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.2216, allocations: 91.69 kB / 0.7934 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.2217, allocations: 8 kB / 0.7934 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2229, allocations: 0.5362 MB / 0.7939 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.223, allocations: 3.984 kB / 0.7939 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.223, allocations: 4 kB / 0.7939 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.223, allocations: 4 kB / 0.7939 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.225, allocations: 0.7572 MB / 0.7947 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.2274, allocations: 1.276 MB / 0.7959 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005147/0.2325, allocations: 1.01 MB / 0.7969 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009893/0.2335, allocations: 396.6 kB / 0.7973 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.2336, allocations: 11.92 kB / 0.7973 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.2349, allocations: 0.5441 MB / 0.7978 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.2349, allocations: 0 / 0.7978 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003217/0.2381, allocations: 1.172 MB / 0.7989 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.2382, allocations: 55.41 kB / 0.799 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.2388, allocations: 0.5135 MB / 0.7995 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/0.2389, allocations: 41.62 kB / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2391, allocations: 204.4 kB / 0.7997 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.2392, allocations: 67.09 kB / 0.7998 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.2393, allocations: 69.66 kB / 0.7999 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2395, allocations: 358.7 kB / 0.8002 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.2406, allocations: 464.5 kB / 0.8007 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.2417, allocations: 0.4994 MB / 0.8011 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.2437, allocations: 0.7559 MB / 0.8019 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2437, allocations: 0 / 0.8019 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002468/0.2462, allocations: 1.094 MB / 0.8029 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.2463, allocations: 46.62 kB / 0.803 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2463, allocations: 0 / 0.803 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2463, allocations: 4 kB / 0.803 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.2469, allocations: 83.89 kB / 0.8031 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.2469, allocations: 7.938 kB / 0.8031 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.2475, allocations: 63.78 kB / 0.8031 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.2475, allocations: 19.97 kB / 0.8032 GB, free: 8.988 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.0002794/0.2478, allocations: 213.7 kB / 0.8034 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.2479, allocations: 43.47 kB / 0.8034 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.248, allocations: 43.92 kB / 0.8034 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.248, allocations: 4 kB / 0.8035 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.248, allocations: 4 kB / 0.8035 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.248, allocations: 3.984 kB / 0.8035 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.2487, allocations: 0.6456 MB / 0.8041 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2487, allocations: 3.938 kB / 0.8041 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.2493, allocations: 83.89 kB / 0.8042 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2493, allocations: 8 kB / 0.8042 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.2493, allocations: 11.92 kB / 0.8042 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2493, allocations: 0 / 0.8042 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2493, allocations: 0 / 0.8042 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.2515, allocations: 0.8359 MB / 0.805 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.2517, allocations: 188.4 kB / 0.8052 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.2518, allocations: 8 kB / 0.8052 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.2524, allocations: 67.91 kB / 0.8053 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.2525, allocations: 23.95 kB / 0.8053 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.2525, allocations: 11.98 kB / 0.8053 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004105/0.2529, allocations: 391.1 kB / 0.8057 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2529, allocations: 3.938 kB / 0.8057 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003877/0.2533, allocations: 111.9 kB / 0.8058 GB, free: 6.203 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.002676/0.256, allocations: 1.435 MB / 0.8072 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.2583, allocations: 0.9362 MB / 0.8081 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2583, allocations: 0 / 0.8081 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.2594, allocations: 427.6 kB / 0.8085 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.2599, allocations: 89.83 kB / 0.8086 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.272, allocations: 7.313 MB / 0.8157 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.2725, allocations: 0.858 MB / 0.8166 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000466/0.273, allocations: 130.9 kB / 0.8167 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.2732, allocations: 135.4 kB / 0.8168 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/0.2732, allocations: 0 / 0.8168 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.3043, allocations: 13.26 MB / 0.8298 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.578, allocations: 7.422 kB / 0.8298 GB, free: 13.77 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)