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.001155/0.001155, allocations: 109.4 kB / 15.69 MB, free: 128 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.001133/0.001133, allocations: 185.8 kB / 16.62 MB, free: 6.613 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.559 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.651/1.651, 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.001403/0.001403, allocations: 76.2 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2262, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004225/0.2305, allocations: 2.353 MB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.2332, allocations: 1.855 MB / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2334, allocations: 4 kB / 0.7878 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.2341, allocations: 227 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2342, allocations: 63.42 kB / 0.788 GB, free: 8.715 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.001056/0.2353, allocations: 436.4 kB / 0.7885 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.2357, allocations: 402.8 kB / 0.7888 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2358, allocations: 44.38 kB / 0.7889 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.236, allocations: 155.6 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2362, allocations: 155.4 kB / 0.7892 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.2363, allocations: 28 kB / 0.7892 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.2366, allocations: 243.7 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2368, allocations: 111.7 kB / 0.7895 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2369, allocations: 175.1 kB / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.2376, allocations: 0.5921 MB / 0.7903 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2376, allocations: 3.938 kB / 0.7903 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.587e-06/0.2376, allocations: 0 / 0.7903 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2376, allocations: 3.938 kB / 0.7903 GB, free: 6.406 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.001128/0.2387, allocations: 0.71 MB / 0.791 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2388, allocations: 11.97 kB / 0.791 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.2388, allocations: 46.73 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.2404, allocations: 156.4 kB / 0.7912 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.2409, allocations: 370.3 kB / 0.7915 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.241, allocations: 75.7 kB / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.241, allocations: 8 kB / 0.7916 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.242, allocations: 438.2 kB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.242, allocations: 0 / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.2421, allocations: 4 kB / 0.792 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2421, allocations: 4 kB / 0.7921 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.2435, allocations: 0.5855 MB / 0.7926 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.2452, allocations: 1.05 MB / 0.7936 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/0.2497, allocations: 0.8533 MB / 0.7945 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.2504, allocations: 308.6 kB / 0.7948 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2504, allocations: 4 kB / 0.7948 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009725/0.2514, allocations: 439 kB / 0.7952 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2514, allocations: 0 / 0.7952 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00234/0.2538, allocations: 0.9187 MB / 0.7961 GB, free: 264 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2538, allocations: 59.34 kB / 0.7962 GB, free: 192 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.2543, allocations: 433.6 kB / 0.7966 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.2544, allocations: 33.7 kB / 0.7966 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2545, allocations: 176 kB / 0.7968 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.2546, allocations: 51.3 kB / 0.7968 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2547, allocations: 53.67 kB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2549, allocations: 342.8 kB / 0.7972 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008369/0.2557, allocations: 384.6 kB / 0.7976 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.2565, allocations: 374.4 kB / 0.7979 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.258, allocations: 0.5997 MB / 0.7985 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.258, allocations: 0 / 0.7985 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001857/0.2598, allocations: 0.9114 MB / 0.7994 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.2599, allocations: 45.69 kB / 0.7994 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2599, allocations: 0 / 0.7994 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2599, allocations: 0 / 0.7994 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.2604, allocations: 63.92 kB / 0.7995 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2604, allocations: 3.938 kB / 0.7995 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.2608, allocations: 47.73 kB / 0.7995 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.2608, allocations: 15.97 kB / 0.7996 GB, free: 12.64 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.0002195/0.2611, allocations: 192.8 kB / 0.7997 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.2611, allocations: 35.56 kB / 0.7998 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.2612, allocations: 47.45 kB / 0.7998 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2612, allocations: 0 / 0.7998 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2612, allocations: 3.938 kB / 0.7998 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.2612, allocations: 7.984 kB / 0.7998 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.2618, allocations: 0.5516 MB / 0.8004 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2618, allocations: 0 / 0.8004 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.2622, allocations: 59.92 kB / 0.8004 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2622, allocations: 4 kB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.2623, allocations: 7.984 kB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2623, allocations: 4 kB / 0.8004 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2623, allocations: 7.875 kB / 0.8005 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2638, allocations: 0.652 MB / 0.8011 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.264, allocations: 168.6 kB / 0.8013 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.2641, allocations: 4 kB / 0.8013 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.2645, allocations: 47.94 kB / 0.8013 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.2646, allocations: 23.91 kB / 0.8013 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2646, allocations: 7.984 kB / 0.8013 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003124/0.2649, allocations: 323.1 kB / 0.8016 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2649, allocations: 4 kB / 0.8016 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003391/0.2653, allocations: 80.25 kB / 0.8017 GB, free: 10.33 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.002059/0.2673, allocations: 1.243 MB / 0.8029 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.269, allocations: 0.7683 MB / 0.8037 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.269, allocations: 0 / 0.8037 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.2698, allocations: 327.7 kB / 0.804 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.2702, allocations: 85.31 kB / 0.8041 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.2793, allocations: 6.1 MB / 0.81 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2797, allocations: 0.8104 MB / 0.8108 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003378/0.2801, allocations: 98.25 kB / 0.8109 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.2803, allocations: 107.4 kB / 0.811 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2803, allocations: 0 / 0.811 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.3075, allocations: 10.78 MB / 0.8215 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.848, allocations: 8.125 kB / 0.8216 GB, free: 6.145 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)