Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",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.001744/0.001744, 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.002375/0.002375, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001546/0.001546, allocations: 70.58 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2377, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004308/0.2421, allocations: 2.354 MB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.2451, allocations: 1.855 MB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.2454, allocations: 3.938 kB / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008457/0.2462, allocations: 227 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.2465, allocations: 63.36 kB / 0.7879 GB, free: 8.852 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.001439/0.248, allocations: 436.7 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006317/0.2486, allocations: 402.8 kB / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2487, allocations: 44.39 kB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.249, allocations: 147.6 kB / 0.7889 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.2493, allocations: 155.5 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.2494, allocations: 28 kB / 0.789 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.2499, allocations: 247.6 kB / 0.7893 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2501, allocations: 111.7 kB / 0.7894 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.2503, allocations: 175.1 kB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.2513, allocations: 0.5921 MB / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2513, allocations: 0 / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2513, allocations: 0 / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.2514, allocations: 0 / 0.7901 GB, free: 6.555 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001603/0.253, allocations: 0.7177 MB / 0.7908 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.253, allocations: 12.03 kB / 0.7908 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.759e-05/0.2531, allocations: 38.75 kB / 0.7909 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.255, allocations: 160.4 kB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.2555, allocations: 366.2 kB / 0.7914 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2557, allocations: 83.69 kB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.2557, allocations: 8 kB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.2569, allocations: 440 kB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.257, allocations: 0 / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.257, allocations: 0 / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.257, allocations: 4 kB / 0.7919 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.2586, allocations: 0.5777 MB / 0.7925 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.2607, allocations: 1.058 MB / 0.7935 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.2658, allocations: 0.8456 MB / 0.7943 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008624/0.2667, allocations: 316.6 kB / 0.7946 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.2668, allocations: 3.938 kB / 0.7946 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.2679, allocations: 443 kB / 0.795 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.825e-06/0.2679, allocations: 0 / 0.795 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00263/0.2705, allocations: 0.9177 MB / 0.7959 GB, free: 412 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.2706, allocations: 63.33 kB / 0.796 GB, free: 336 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.2712, allocations: 437.7 kB / 0.7964 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.662e-05/0.2713, allocations: 29.7 kB / 0.7964 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.2715, allocations: 172 kB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.2716, allocations: 51.3 kB / 0.7967 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.2717, allocations: 53.67 kB / 0.7967 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2719, allocations: 354.7 kB / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009293/0.2728, allocations: 376.6 kB / 0.7974 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.2737, allocations: 371.7 kB / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.2753, allocations: 0.6026 MB / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2753, allocations: 0 / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00208/0.2774, allocations: 0.9046 MB / 0.7992 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.2775, allocations: 41.69 kB / 0.7993 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2775, allocations: 8 kB / 0.7993 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2775, allocations: 0 / 0.7993 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.278, allocations: 63.84 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2781, allocations: 7.938 kB / 0.7993 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.2785, allocations: 47.8 kB / 0.7994 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.2786, allocations: 11.98 kB / 0.7994 GB, free: 12.77 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 (17): * Single equations (assignments): 16 * 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.000311/0.2789, allocations: 186.4 kB / 0.7996 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.279, allocations: 31.62 kB / 0.7996 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.2791, allocations: 47.47 kB / 0.7997 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2791, allocations: 0 / 0.7997 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.2791, allocations: 11.81 kB / 0.7997 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2791, allocations: 0 / 0.7997 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.2798, allocations: 0.5514 MB / 0.8002 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2798, allocations: 0 / 0.8002 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.2803, allocations: 63.92 kB / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2803, allocations: 0 / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2803, allocations: 11.98 kB / 0.8003 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2803, allocations: 0 / 0.8003 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2803, allocations: 7.938 kB / 0.8003 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.2821, allocations: 0.6564 MB / 0.8009 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.2823, allocations: 164.6 kB / 0.8011 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.2824, allocations: 7.984 kB / 0.8011 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.2828, allocations: 47.94 kB / 0.8011 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.2829, allocations: 19.92 kB / 0.8012 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.283, allocations: 11.98 kB / 0.8012 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003694/0.2833, allocations: 319.1 kB / 0.8015 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2834, allocations: 0 / 0.8015 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00041/0.2838, allocations: 84.23 kB / 0.8016 GB, free: 10.48 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 (16): * Single equations (assignments): 14 * 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.002283/0.2861, allocations: 1.244 MB / 0.8028 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.288, allocations: 0.7867 MB / 0.8035 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.288, allocations: 0 / 0.8035 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000836/0.2888, allocations: 323.7 kB / 0.8038 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.2893, allocations: 84.17 kB / 0.8039 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.2996, allocations: 6.139 MB / 0.8099 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3001, allocations: 0.8142 MB / 0.8107 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000455/0.3006, allocations: 102.2 kB / 0.8108 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3008, allocations: 103.4 kB / 0.8109 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.3008, allocations: 4 kB / 0.8109 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.333, allocations: 10.75 MB / 0.8214 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.403, allocations: 13.45 kB / 0.8214 GB, free: 6.227 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)