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.0007393/0.0007393, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004392/0.004392, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.709/1.709, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.721/1.721, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005186/0.0005187, allocations: 17.16 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.27, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.0031/0.2732, allocations: 2.578 MB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.2762, allocations: 2.21 MB / 0.7927 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2763, allocations: 4 kB / 0.7927 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.277, allocations: 243.1 kB / 0.7929 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.2771, allocations: 71.39 kB / 0.793 GB, free: 6.348 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.0009599/0.2781, allocations: 444 kB / 0.7934 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.2786, allocations: 486.5 kB / 0.7939 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2787, allocations: 60.7 kB / 0.7939 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2789, allocations: 179.4 kB / 0.7941 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2792, allocations: 199.3 kB / 0.7943 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.2792, allocations: 24 kB / 0.7943 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.2796, allocations: 235.6 kB / 0.7945 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2797, allocations: 143.6 kB / 0.7947 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.28, allocations: 220.7 kB / 0.7949 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000682/0.2806, allocations: 0.7281 MB / 0.7956 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2807, allocations: 4 kB / 0.7956 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2807, allocations: 0 / 0.7956 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2807, allocations: 0 / 0.7956 GB, free: 3.656 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.001226/0.2819, allocations: 0.7701 MB / 0.7964 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.282, allocations: 12.03 kB / 0.7964 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.282, allocations: 46.73 kB / 0.7964 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.2841, allocations: 236.2 kB / 0.7966 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.2847, allocations: 433.9 kB / 0.7971 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.2848, allocations: 87.64 kB / 0.7971 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.2848, allocations: 19.98 kB / 0.7972 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2862, allocations: 0.5596 MB / 0.7977 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2862, allocations: 0 / 0.7977 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.2863, allocations: 7.938 kB / 0.7977 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2863, allocations: 4 kB / 0.7977 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.2884, allocations: 0.8119 MB / 0.7985 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2906, allocations: 1.284 MB / 0.7998 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005425/0.296, allocations: 1.088 MB / 0.8008 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.2971, allocations: 424.6 kB / 0.8012 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2971, allocations: 8 kB / 0.8012 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.2984, allocations: 0.5574 MB / 0.8018 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/0.2984, allocations: 4 kB / 0.8018 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003325/0.3018, allocations: 1.261 MB / 0.803 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3018, allocations: 55.41 kB / 0.8031 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.3025, allocations: 0.5174 MB / 0.8036 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.3025, allocations: 33.7 kB / 0.8036 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.3027, allocations: 204.5 kB / 0.8038 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.3028, allocations: 74.98 kB / 0.8039 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.3029, allocations: 21.72 kB / 0.8039 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3031, allocations: 362.8 kB / 0.8042 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3042, allocations: 0.4886 MB / 0.8047 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3054, allocations: 0.5248 MB / 0.8052 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.3075, allocations: 0.8052 MB / 0.806 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3075, allocations: 0 / 0.806 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00254/0.31, allocations: 1.139 MB / 0.8071 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.3101, allocations: 49.62 kB / 0.8072 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3101, allocations: 0 / 0.8072 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3101, allocations: 0 / 0.8072 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.3108, allocations: 103.8 kB / 0.8073 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3108, allocations: 0 / 0.8073 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.3113, allocations: 79.77 kB / 0.8073 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.3114, allocations: 19.98 kB / 0.8074 GB, free: 7.32 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.0003122/0.3117, allocations: 213.7 kB / 0.8076 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.3118, allocations: 51.38 kB / 0.8076 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.931e-05/0.3119, allocations: 55.89 kB / 0.8077 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3119, allocations: 4 kB / 0.8077 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3119, allocations: 0 / 0.8077 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3119, allocations: 0 / 0.8077 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.3127, allocations: 0.6378 MB / 0.8083 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3127, allocations: 4 kB / 0.8083 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.3133, allocations: 107.8 kB / 0.8084 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3133, allocations: 11.98 kB / 0.8084 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.3133, allocations: 11.98 kB / 0.8084 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3133, allocations: 0 / 0.8084 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3133, allocations: 4 kB / 0.8084 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.3156, allocations: 0.8855 MB / 0.8093 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.3158, allocations: 200.3 kB / 0.8095 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.3159, allocations: 11.94 kB / 0.8095 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.3165, allocations: 79.92 kB / 0.8096 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.3166, allocations: 23.95 kB / 0.8096 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3166, allocations: 11.98 kB / 0.8096 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000453/0.3171, allocations: 387.1 kB / 0.81 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3171, allocations: 0 / 0.81 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004178/0.3175, allocations: 104 kB / 0.8101 GB, free: 4.445 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.00291/0.3204, allocations: 1.483 MB / 0.8115 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.3228, allocations: 0.9937 MB / 0.8125 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3228, allocations: 0 / 0.8125 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.324, allocations: 455.6 kB / 0.8129 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.3245, allocations: 88.8 kB / 0.813 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.3378, allocations: 7.634 MB / 0.8205 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.3384, allocations: 0.8619 MB / 0.8213 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005902/0.339, allocations: 122.9 kB / 0.8214 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.3393, allocations: 143.4 kB / 0.8216 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/0.3393, allocations: 0 / 0.8216 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3665, allocations: 12.39 MB / 0.8337 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.3668, allocations: 281.1 kB / 0.8339 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.468, allocations: 0 / 0.8339 GB, free: 12.07 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)