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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.53/2.53, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001519/0.001519, allocations: 190.9 kB / 370.8 MB, free: 10.84 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.182/2.182, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.00119/0.00119, allocations: 97 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007158/0.0007164, allocations: 13.83 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2248, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003474/0.2284, allocations: 2.346 MB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003619/0.2321, allocations: 1.945 MB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.2324, allocations: 4 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2335, allocations: 251.1 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.2338, allocations: 79.75 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.2354, allocations: 431.7 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.236, allocations: 323.4 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.2362, allocations: 40.72 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.2364, allocations: 179.5 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.2367, allocations: 191.4 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.31e-05/0.2368, allocations: 24 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.2374, allocations: 211.6 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.2376, allocations: 143.6 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.735e-05/0.2377, allocations: 93.45 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.2384, allocations: 0.577 MB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2385, allocations: 0 / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2385, allocations: 0 / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2385, allocations: 0 / 0.9848 GB, free: 21.53 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.001694/0.2402, allocations: 0.7798 MB / 0.9856 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2403, allocations: 12.02 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.2438, allocations: 251.1 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/0.2447, allocations: 401.1 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.2448, allocations: 87.31 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.2449, allocations: 16 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.2471, allocations: 0.5493 MB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2471, allocations: 4 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.2472, allocations: 4 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2472, allocations: 11.94 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.2508, allocations: 0.8236 MB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.2543, allocations: 1.273 MB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009499/0.2638, allocations: 1.088 MB / 0.99 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.264, allocations: 3.984 kB / 0.99 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/0.2661, allocations: 0.5706 MB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 4.529e-06/0.2661, allocations: 3.938 kB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.005496/0.2717, allocations: 1.263 MB / 0.9918 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2717, allocations: 55.75 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.2726, allocations: 0.5174 MB / 0.9924 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.2727, allocations: 37.69 kB / 0.9924 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.2729, allocations: 204.4 kB / 0.9926 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.273, allocations: 59.11 kB / 0.9926 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.2731, allocations: 8 kB / 0.9927 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2732, allocations: 350.8 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.2751, allocations: 0.4888 MB / 0.9935 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.277, allocations: 0.5247 MB / 0.994 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.2789, allocations: 457.4 kB / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2789, allocations: 0 / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.004189/0.2831, allocations: 1.147 MB / 0.9955 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.2832, allocations: 45.69 kB / 0.9956 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2832, allocations: 0 / 0.9956 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2833, allocations: 0 / 0.9956 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.2844, allocations: 103.8 kB / 0.9957 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2844, allocations: 4 kB / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.2854, allocations: 83.72 kB / 0.9958 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.2855, allocations: 23.92 kB / 0.9958 GB, free: 10.06 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.0004181/0.286, allocations: 209.8 kB / 0.996 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2861, allocations: 43.44 kB / 0.996 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2862, allocations: 51.91 kB / 0.9961 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2862, allocations: 4 kB / 0.9961 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2862, allocations: 0 / 0.9961 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2862, allocations: 0 / 0.9961 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.2871, allocations: 0.6531 MB / 0.9967 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2871, allocations: 0 / 0.9967 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.2882, allocations: 107.9 kB / 0.9968 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2883, allocations: 0 / 0.9968 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.2883, allocations: 15.97 kB / 0.9968 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2883, allocations: 0 / 0.9968 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2884, allocations: 0 / 0.9968 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/0.2921, allocations: 0.8905 MB / 0.9977 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.2925, allocations: 188.4 kB / 0.9979 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.2926, allocations: 11.98 kB / 0.9979 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.2937, allocations: 79.92 kB / 0.998 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2938, allocations: 23.95 kB / 0.998 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.2939, allocations: 11.98 kB / 0.998 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006063/0.2945, allocations: 391.1 kB / 0.9984 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2945, allocations: 0 / 0.9984 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005927/0.2951, allocations: 107.9 kB / 0.9985 GB, free: 7.195 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.0004976/0.2956, allocations: 156.3 kB / 0.9986 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00386/0.2995, allocations: 0.9938 MB / 0.9996 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2996, allocations: 0 / 0.9996 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.3014, allocations: 451.6 kB / 1 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.3022, allocations: 81.84 kB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.3056, allocations: 1.132 MB / 1.001 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3061, allocations: 0.8661 MB / 1.002 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009381/0.307, allocations: 130.9 kB / 1.002 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.3073, allocations: 39.39 kB / 1.002 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.3073, allocations: 0 / 1.002 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of Templates: time 0.02175/0.3291, allocations: 7.93 MB / 1.01 GB, free: 11.46 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)