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.0008147/0.0008148, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0008957/0.0008958, allocations: 181 kB / 16.28 MB, free: 6.277 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.718/1.718, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.736/1.736, allocations: 292.7 MB / 0.5503 GB, free: 14.48 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.0005334/0.0005334, allocations: 14.31 kB / 0.6745 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2699, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002636/0.2726, allocations: 2.057 MB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.2752, allocations: 1.832 MB / 0.7918 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2754, allocations: 4 kB / 0.7918 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.2761, allocations: 215.2 kB / 0.792 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2762, allocations: 51.55 kB / 0.7921 GB, free: 7.316 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.0009518/0.2771, allocations: 391.7 kB / 0.7925 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.2776, allocations: 378.8 kB / 0.7928 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2777, allocations: 40.39 kB / 0.7929 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.2779, allocations: 135.6 kB / 0.793 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.2781, allocations: 147.4 kB / 0.7931 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.2781, allocations: 24 kB / 0.7931 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.2785, allocations: 231.7 kB / 0.7934 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2786, allocations: 107.7 kB / 0.7935 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2788, allocations: 184.8 kB / 0.7936 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.2794, allocations: 0.5763 MB / 0.7942 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2794, allocations: 0 / 0.7942 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2794, allocations: 0 / 0.7942 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2794, allocations: 0 / 0.7942 GB, free: 5.133 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.0011/0.2805, allocations: 0.6557 MB / 0.7948 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2806, allocations: 8.031 kB / 0.7949 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.2807, allocations: 42.73 kB / 0.7949 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.2824, allocations: 172.3 kB / 0.7951 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.2828, allocations: 362.3 kB / 0.7954 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.283, allocations: 79.69 kB / 0.7955 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.283, allocations: 16 kB / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.284, allocations: 449.3 kB / 0.7959 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2841, allocations: 0 / 0.7959 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2841, allocations: 4 kB / 0.7959 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2841, allocations: 0 / 0.7959 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.2857, allocations: 0.6284 MB / 0.7965 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2875, allocations: 1.058 MB / 0.7976 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.2924, allocations: 0.9275 MB / 0.7985 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/0.2932, allocations: 332.6 kB / 0.7988 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2932, allocations: 0 / 0.7988 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.2943, allocations: 463 kB / 0.7992 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2943, allocations: 0 / 0.7992 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16): time 0.002541/0.2968, allocations: 0.9803 MB / 0.8002 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.2969, allocations: 67.28 kB / 0.8003 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.2974, allocations: 433.5 kB / 0.8007 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.2974, allocations: 33.7 kB / 0.8007 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2976, allocations: 164.1 kB / 0.8009 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2977, allocations: 59.22 kB / 0.8009 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.2977, allocations: 25.7 kB / 0.8009 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2979, allocations: 350.8 kB / 0.8013 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008854/0.2988, allocations: 396.6 kB / 0.8017 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.2996, allocations: 398.5 kB / 0.802 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.3012, allocations: 0.6426 MB / 0.8027 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3012, allocations: 0 / 0.8027 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001985/0.3032, allocations: 0.9504 MB / 0.8036 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.3032, allocations: 45.69 kB / 0.8036 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3033, allocations: 0 / 0.8036 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3033, allocations: 0 / 0.8036 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.3037, allocations: 71.92 kB / 0.8037 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3038, allocations: 7.922 kB / 0.8037 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.3042, allocations: 55.89 kB / 0.8038 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3042, allocations: 11.98 kB / 0.8038 GB, free: 11.05 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.0002465/0.3045, allocations: 189.7 kB / 0.804 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.3045, allocations: 35.53 kB / 0.804 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.3046, allocations: 43.47 kB / 0.804 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3046, allocations: 4 kB / 0.804 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3046, allocations: 3.938 kB / 0.804 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3046, allocations: 0 / 0.804 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.3052, allocations: 0.5477 MB / 0.8046 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3052, allocations: 4 kB / 0.8046 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.3057, allocations: 71.92 kB / 0.8046 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3057, allocations: 0 / 0.8046 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3057, allocations: 11.98 kB / 0.8047 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3057, allocations: 0 / 0.8047 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3057, allocations: 11.92 kB / 0.8047 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3074, allocations: 0.6993 MB / 0.8054 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.3076, allocations: 160.7 kB / 0.8055 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.3076, allocations: 8 kB / 0.8055 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.3081, allocations: 59.94 kB / 0.8056 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.3082, allocations: 23.91 kB / 0.8056 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.3082, allocations: 11.98 kB / 0.8056 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003487/0.3086, allocations: 319.1 kB / 0.8059 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3086, allocations: 0 / 0.8059 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003581/0.3089, allocations: 84.23 kB / 0.806 GB, free: 8.688 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.002246/0.3112, allocations: 1.293 MB / 0.8073 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.313, allocations: 0.8034 MB / 0.808 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.313, allocations: 0 / 0.808 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.3139, allocations: 346.2 kB / 0.8084 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.3143, allocations: 73.45 kB / 0.8084 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.3245, allocations: 6.315 MB / 0.8146 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3249, allocations: 0.8141 MB / 0.8154 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.3254, allocations: 102.2 kB / 0.8155 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3256, allocations: 99.38 kB / 0.8156 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.723e-06/0.3256, allocations: 0 / 0.8156 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.3488, allocations: 10.07 MB / 0.8254 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.3491, allocations: 282 kB / 0.8257 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.434, allocations: 4 kB / 0.8257 GB, free: 4.535 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --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)