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.001492/0.001492, allocations: 105.4 kB / 15.7 MB, free: 24 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.001991/0.001991, allocations: 198 kB / 16.64 MB, free: 6.434 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.708/1.708, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001459/0.001459, allocations: 74.31 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2276, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003944/0.2316, allocations: 2.902 MB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.2345, allocations: 2.252 MB / 0.7887 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2347, allocations: 4 kB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.2354, allocations: 250.9 kB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2355, allocations: 83.22 kB / 0.789 GB, free: 7.703 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.001053/0.2366, allocations: 495.6 kB / 0.7895 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.2371, allocations: 0.5103 MB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2372, allocations: 52.72 kB / 0.79 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.2374, allocations: 199.4 kB / 0.7902 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.2377, allocations: 207.3 kB / 0.7904 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.2378, allocations: 43.94 kB / 0.7905 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.2381, allocations: 247.7 kB / 0.7907 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.2383, allocations: 163.6 kB / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.2385, allocations: 214.9 kB / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.2392, allocations: 0.7518 MB / 0.7918 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2392, allocations: 0 / 0.7918 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2392, allocations: 3.938 kB / 0.7918 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2393, allocations: 3.938 kB / 0.7918 GB, free: 4.844 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.001331/0.2406, allocations: 0.8322 MB / 0.7926 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2406, allocations: 12.03 kB / 0.7926 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.2407, allocations: 46.73 kB / 0.7927 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.2427, allocations: 232.1 kB / 0.7929 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.2433, allocations: 422 kB / 0.7933 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.2434, allocations: 87.69 kB / 0.7934 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.2434, allocations: 15.94 kB / 0.7934 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2446, allocations: 0.5323 MB / 0.7939 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2447, allocations: 0 / 0.7939 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.2447, allocations: 0 / 0.7939 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2447, allocations: 4 kB / 0.7939 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.2466, allocations: 0.7611 MB / 0.7947 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.2488, allocations: 1.28 MB / 0.7959 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004837/0.2536, allocations: 1.021 MB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.2546, allocations: 396.6 kB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.2546, allocations: 3.984 kB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.2558, allocations: 0.5402 MB / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.384e-06/0.2558, allocations: 0 / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003011/0.2588, allocations: 1.176 MB / 0.799 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2589, allocations: 59.41 kB / 0.799 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.2595, allocations: 0.5175 MB / 0.7995 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.2595, allocations: 33.7 kB / 0.7996 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2597, allocations: 200.4 kB / 0.7997 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.2598, allocations: 67.09 kB / 0.7998 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.2599, allocations: 69.64 kB / 0.7999 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2601, allocations: 358.7 kB / 0.8002 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.2611, allocations: 472.5 kB / 0.8007 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.2622, allocations: 0.4956 MB / 0.8011 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.264, allocations: 0.7481 MB / 0.8019 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.264, allocations: 0 / 0.8019 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002338/0.2663, allocations: 1.094 MB / 0.8029 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.2664, allocations: 42.62 kB / 0.803 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2664, allocations: 4 kB / 0.803 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2664, allocations: 7.938 kB / 0.803 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.267, allocations: 95.81 kB / 0.8031 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.267, allocations: 4 kB / 0.8031 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.2675, allocations: 55.78 kB / 0.8031 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.2676, allocations: 15.98 kB / 0.8032 GB, free: 8.918 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.000322/0.2679, allocations: 213.8 kB / 0.8034 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.268, allocations: 51.39 kB / 0.8034 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.2681, allocations: 47.92 kB / 0.8035 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2681, allocations: 4 kB / 0.8035 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2681, allocations: 0 / 0.8035 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2681, allocations: 0 / 0.8035 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.2688, allocations: 0.6378 MB / 0.8041 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2688, allocations: 3.938 kB / 0.8041 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.2693, allocations: 95.88 kB / 0.8042 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2694, allocations: 0 / 0.8042 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.2694, allocations: 11.98 kB / 0.8042 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2694, allocations: 0 / 0.8042 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2694, allocations: 4 kB / 0.8042 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.2714, allocations: 0.8358 MB / 0.805 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.2717, allocations: 192.4 kB / 0.8052 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/0.2718, allocations: 8 kB / 0.8052 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.2723, allocations: 59.92 kB / 0.8053 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.2724, allocations: 31.89 kB / 0.8053 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.2724, allocations: 15.98 kB / 0.8053 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000409/0.2729, allocations: 387.1 kB / 0.8057 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2729, allocations: 0 / 0.8057 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003771/0.2732, allocations: 103.9 kB / 0.8058 GB, free: 6.137 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.002515/0.2758, allocations: 1.442 MB / 0.8072 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.2779, allocations: 0.9362 MB / 0.8081 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2779, allocations: 4 kB / 0.8081 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009769/0.2789, allocations: 423.6 kB / 0.8085 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.2794, allocations: 88.67 kB / 0.8086 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.2908, allocations: 7.308 MB / 0.8157 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.2912, allocations: 0.8542 MB / 0.8166 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004517/0.2917, allocations: 134.9 kB / 0.8167 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.2919, allocations: 135.4 kB / 0.8168 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.2919, allocations: 4 kB / 0.8168 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3217, allocations: 13.26 MB / 0.8298 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.189, allocations: 8.172 kB / 0.8298 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --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)