Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 175.5 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000815/0.000815, allocations: 94.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003655, allocations: 10.69 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002487/0.2418, allocations: 2.365 MB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.244, allocations: 1.954 MB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2442, allocations: 4 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.2449, allocations: 247.1 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.245, allocations: 87.75 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.2458, allocations: 418.2 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.2462, allocations: 335.3 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2463, allocations: 48.72 kB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2464, allocations: 171.5 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2466, allocations: 187.4 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.2467, allocations: 24 kB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.2469, allocations: 219.6 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2471, allocations: 139.6 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.2472, allocations: 93.52 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2476, allocations: 0.5731 MB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2476, allocations: 0 / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2476, allocations: 0 / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2476, allocations: 3.938 kB / 0.9068 GB, free: 56.95 MB / 0.6042 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.001136/0.2488, allocations: 0.7738 MB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2488, allocations: 8.031 kB / 0.9076 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.2489, allocations: 42.56 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.2508, allocations: 251.2 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.2514, allocations: 401.2 kB / 0.9083 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2515, allocations: 87.38 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.2516, allocations: 15.94 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2527, allocations: 0.548 MB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2528, allocations: 3.953 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.2528, allocations: 8 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.2528, allocations: 3.984 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.2547, allocations: 0.8281 MB / 0.9097 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.2568, allocations: 1.273 MB / 0.911 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.2618, allocations: 1.093 MB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.2618, allocations: 3.984 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.263, allocations: 0.5618 MB / 0.9126 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 3.336e-06/0.263, allocations: 3.938 kB / 0.9126 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.002921/0.2659, allocations: 1.264 MB / 0.9138 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2659, allocations: 55.41 kB / 0.9139 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.2665, allocations: 0.5096 MB / 0.9144 GB, free: 49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.2665, allocations: 41.69 kB / 0.9144 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2666, allocations: 200.4 kB / 0.9146 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.2667, allocations: 75.03 kB / 0.9147 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.2668, allocations: 4 kB / 0.9147 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.2668, allocations: 350.8 kB / 0.915 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009907/0.2678, allocations: 496.5 kB / 0.9155 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009811/0.2688, allocations: 0.5267 MB / 0.916 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009163/0.2698, allocations: 461.4 kB / 0.9164 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2698, allocations: 0 / 0.9164 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002187/0.272, allocations: 1.146 MB / 0.9176 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.272, allocations: 41.69 kB / 0.9176 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.272, allocations: 0 / 0.9176 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2721, allocations: 8 kB / 0.9176 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.2727, allocations: 107.8 kB / 0.9177 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.2727, allocations: 0 / 0.9177 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.2732, allocations: 75.83 kB / 0.9178 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.2732, allocations: 15.98 kB / 0.9178 GB, free: 45.45 MB / 0.6042 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.0002944/0.2735, allocations: 213 kB / 0.918 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.2736, allocations: 39.53 kB / 0.918 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.2737, allocations: 59.91 kB / 0.9181 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2737, allocations: 0 / 0.9181 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2737, allocations: 3.953 kB / 0.9181 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2737, allocations: 0 / 0.9181 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.2743, allocations: 0.6494 MB / 0.9187 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2743, allocations: 0 / 0.9187 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.2749, allocations: 107.8 kB / 0.9188 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2749, allocations: 0 / 0.9188 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.2749, allocations: 11.98 kB / 0.9188 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2749, allocations: 11.94 kB / 0.9189 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2749, allocations: 8 kB / 0.9189 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.2768, allocations: 0.8827 MB / 0.9197 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.2771, allocations: 184.5 kB / 0.9199 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.2772, allocations: 11.98 kB / 0.9199 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.2777, allocations: 83.92 kB / 0.92 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.2778, allocations: 27.91 kB / 0.92 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.2778, allocations: 11.98 kB / 0.92 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003403/0.2782, allocations: 387.1 kB / 0.9204 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2782, allocations: 0 / 0.9204 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003915/0.2786, allocations: 99.89 kB / 0.9205 GB, free: 42.58 MB / 0.6042 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.00249/0.2811, allocations: 1.486 MB / 0.9219 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.2831, allocations: 0.9948 MB / 0.9229 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2831, allocations: 0 / 0.9229 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000942/0.2841, allocations: 443.6 kB / 0.9233 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2845, allocations: 89.8 kB / 0.9234 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.2917, allocations: 4.647 MB / 0.928 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.2921, allocations: 0.8697 MB / 0.9288 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.2927, allocations: 134.9 kB / 0.9289 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.293, allocations: 131.4 kB / 0.9291 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.293, allocations: 0 / 0.9291 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.318, allocations: 12.09 MB / 0.9409 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.3182, allocations: 271.4 kB / 0.9411 GB, free: 21.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.562, allocations: 0 / 0.9411 GB, free: 21.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)