Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.716/2.716, allocations: 287.3 MB / 302.3 MB, free: 8.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001758/0.001758, allocations: 175.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001178, allocations: 96.88 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007034/0.0007035, allocations: 17.62 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2227, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003351/0.2261, allocations: 2.354 MB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.2296, allocations: 1.958 MB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.2299, allocations: 0 / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.231, allocations: 251.1 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.2313, allocations: 79.75 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.2329, allocations: 415 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.2335, allocations: 327.4 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.2337, allocations: 52.72 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2339, allocations: 175.5 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.2342, allocations: 191.3 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.2343, allocations: 27.94 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.2348, allocations: 215.7 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.235, allocations: 143.7 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2352, allocations: 89.5 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007426/0.2359, allocations: 0.5653 MB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2359, allocations: 3.938 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2359, allocations: 3.938 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.236, allocations: 0 / 0.9849 GB, free: 21.45 MB / 0.6198 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.00169/0.2377, allocations: 0.7777 MB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2377, allocations: 16.02 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.961e-05/0.2378, allocations: 46.55 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/0.2413, allocations: 239.2 kB / 0.986 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.2422, allocations: 409.1 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2424, allocations: 83.38 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.2425, allocations: 15.94 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.2447, allocations: 0.5532 MB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2447, allocations: 0 / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.2448, allocations: 4 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2448, allocations: 11.95 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.2484, allocations: 0.8274 MB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.2519, allocations: 1.277 MB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009582/0.2615, allocations: 1.088 MB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.2616, allocations: 4 kB / 0.9902 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/0.2637, allocations: 0.555 MB / 0.9907 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.306e-06/0.2638, allocations: 4 kB / 0.9907 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.005506/0.2693, allocations: 1.263 MB / 0.9919 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.2694, allocations: 59.36 kB / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.2702, allocations: 0.5175 MB / 0.9925 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.2704, allocations: 33.7 kB / 0.9925 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.2706, allocations: 208.4 kB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.2707, allocations: 63.09 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.2708, allocations: 4 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2709, allocations: 358.8 kB / 0.9931 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.2728, allocations: 488.5 kB / 0.9936 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.2747, allocations: 0.5312 MB / 0.9941 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.2765, allocations: 457.4 kB / 0.9945 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2766, allocations: 0 / 0.9945 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.004191/0.2808, allocations: 1.147 MB / 0.9957 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.2809, allocations: 45.69 kB / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2809, allocations: 0 / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2809, allocations: 0 / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.282, allocations: 115.7 kB / 0.9958 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2821, allocations: 0 / 0.9958 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.283, allocations: 79.72 kB / 0.9959 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.2831, allocations: 19.98 kB / 0.9959 GB, free: 9.93 MB / 0.6198 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004071/0.2836, allocations: 209.8 kB / 0.9961 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.2837, allocations: 43.44 kB / 0.9962 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2838, allocations: 55.91 kB / 0.9962 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2838, allocations: 4 kB / 0.9962 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2838, allocations: 0 / 0.9962 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2838, allocations: 0 / 0.9962 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.2848, allocations: 0.6415 MB / 0.9968 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2848, allocations: 0 / 0.9968 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.2859, allocations: 107.8 kB / 0.9969 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.286, allocations: 8 kB / 0.997 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.286, allocations: 11.98 kB / 0.997 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.286, allocations: 0 / 0.997 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.286, allocations: 0 / 0.997 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.2898, allocations: 0.8896 MB / 0.9978 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.2902, allocations: 196.4 kB / 0.998 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.2903, allocations: 11.98 kB / 0.998 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.2913, allocations: 79.92 kB / 0.9981 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.2915, allocations: 27.95 kB / 0.9981 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.2916, allocations: 7.984 kB / 0.9981 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006266/0.2922, allocations: 391 kB / 0.9985 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2922, allocations: 0 / 0.9985 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006263/0.2929, allocations: 108 kB / 0.9986 GB, free: 7.066 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004315/0.2972, allocations: 1.497 MB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003822/0.3011, allocations: 0.9901 MB / 1.001 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3011, allocations: 0 / 1.001 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.3029, allocations: 447.6 kB / 1.001 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.3036, allocations: 81.86 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.3175, allocations: 4.65 MB / 1.006 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.3182, allocations: 0.8697 MB / 1.007 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001103/0.3193, allocations: 134.9 kB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.3198, allocations: 135.4 kB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.3199, allocations: 0 / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/0.3791, allocations: 12.09 MB / 1.019 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004442/0.3797, allocations: 259.8 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/3.245, allocations: 2.812 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)