Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008131, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008533/0.0008534, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.688/1.688, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004903/0.0004903, allocations: 16.25 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003015/0.218, allocations: 2.467 MB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.2206, allocations: 2.063 MB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.2208, allocations: 4 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.2214, allocations: 234.9 kB / 0.792 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2216, allocations: 59.47 kB / 0.792 GB, free: 7.086 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.0008998/0.2225, allocations: 425.4 kB / 0.7924 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.2229, allocations: 430.6 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.223, allocations: 48.98 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2232, allocations: 179.5 kB / 0.7931 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.2234, allocations: 195.3 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.2234, allocations: 24 kB / 0.7933 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.2238, allocations: 227.6 kB / 0.7935 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.2239, allocations: 147.6 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.224, allocations: 93.45 kB / 0.7937 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.2245, allocations: 0.5689 MB / 0.7943 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2245, allocations: 0 / 0.7943 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2245, allocations: 4 kB / 0.7943 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2245, allocations: 0 / 0.7943 GB, free: 4.773 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001115/0.2257, allocations: 0.7778 MB / 0.795 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2257, allocations: 8.031 kB / 0.795 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.2275, allocations: 247.1 kB / 0.7953 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.228, allocations: 413.1 kB / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2281, allocations: 79.38 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.2281, allocations: 15.94 kB / 0.7958 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.2293, allocations: 0.5596 MB / 0.7963 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2293, allocations: 4 kB / 0.7963 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.2293, allocations: 4 kB / 0.7963 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2293, allocations: 4 kB / 0.7963 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.2311, allocations: 0.8119 MB / 0.7971 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.2331, allocations: 1.277 MB / 0.7984 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/0.2376, allocations: 1.092 MB / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008913/0.2385, allocations: 424.6 kB / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.2386, allocations: 8 kB / 0.7998 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.2397, allocations: 0.5511 MB / 0.8004 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.585e-06/0.2397, allocations: 0 / 0.8004 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.00283/0.2425, allocations: 1.271 MB / 0.8016 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2426, allocations: 59.36 kB / 0.8017 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.2432, allocations: 0.5096 MB / 0.8022 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.2433, allocations: 37.64 kB / 0.8022 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.2435, allocations: 204.4 kB / 0.8024 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.2436, allocations: 67 kB / 0.8025 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2436, allocations: 8 kB / 0.8025 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2438, allocations: 358.8 kB / 0.8028 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.2449, allocations: 496.5 kB / 0.8033 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.2459, allocations: 0.5169 MB / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.2468, allocations: 465.4 kB / 0.8042 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2468, allocations: 4 kB / 0.8042 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002153/0.249, allocations: 1.141 MB / 0.8053 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.249, allocations: 37.69 kB / 0.8054 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2491, allocations: 0 / 0.8054 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2491, allocations: 4 kB / 0.8054 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.2496, allocations: 107.8 kB / 0.8055 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2496, allocations: 7.984 kB / 0.8055 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.2501, allocations: 83.73 kB / 0.8056 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.2502, allocations: 19.91 kB / 0.8056 GB, free: 8.898 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 ($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.0002636/0.2504, allocations: 209.8 kB / 0.8058 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.2505, allocations: 43.44 kB / 0.8058 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.2506, allocations: 51.92 kB / 0.8059 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.2506, allocations: 3.984 kB / 0.8059 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2506, allocations: 0 / 0.8059 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2506, allocations: 11.94 kB / 0.8059 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.2513, allocations: 0.6455 MB / 0.8065 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2513, allocations: 3.938 kB / 0.8065 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.2518, allocations: 99.89 kB / 0.8066 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2518, allocations: 0 / 0.8066 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.2519, allocations: 11.98 kB / 0.8066 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2519, allocations: 4 kB / 0.8066 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2519, allocations: 0 / 0.8066 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.2538, allocations: 0.8866 MB / 0.8075 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.254, allocations: 192.4 kB / 0.8077 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.2541, allocations: 11.98 kB / 0.8077 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.2545, allocations: 79.92 kB / 0.8078 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.2546, allocations: 27.95 kB / 0.8078 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.2547, allocations: 15.98 kB / 0.8078 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004274/0.2551, allocations: 387 kB / 0.8082 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2551, allocations: 0 / 0.8082 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004031/0.2555, allocations: 96 kB / 0.8083 GB, free: 6.043 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 (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.0003885/0.2559, allocations: 159.3 kB / 0.8084 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.258, allocations: 0.9974 MB / 0.8094 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.258, allocations: 0 / 0.8094 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.259, allocations: 451.6 kB / 0.8098 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.2594, allocations: 88.39 kB / 0.8099 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.2616, allocations: 1.14 MB / 0.811 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.2621, allocations: 0.8544 MB / 0.8119 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005334/0.2626, allocations: 130.9 kB / 0.812 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2628, allocations: 43.39 kB / 0.812 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.2628, allocations: 0 / 0.812 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of Templates: time 0.01335/0.2761, allocations: 7.958 MB / 0.8198 GB, free: 10.31 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) Environment - environmentSimulation: