Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.0009396/0.0009396, allocations: 175.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007165/0.0007165, allocations: 94.23 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 17.8 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002358/0.2113, allocations: 2.459 MB / 0.9826 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.2137, allocations: 2.079 MB / 0.9846 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2138, allocations: 0 / 0.9846 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005969/0.2145, allocations: 234.8 kB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2146, allocations: 67.41 kB / 0.9849 GB, free: 22.46 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0009169/0.2155, allocations: 427.3 kB / 0.9853 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.2159, allocations: 450.6 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.216, allocations: 48.94 kB / 0.9858 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.2162, allocations: 187.5 kB / 0.9859 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2163, allocations: 187.4 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.2164, allocations: 24 kB / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.2167, allocations: 223.7 kB / 0.9863 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.2169, allocations: 139.7 kB / 0.9865 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.217, allocations: 220.7 kB / 0.9867 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.2175, allocations: 0.5689 MB / 0.9872 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2175, allocations: 0 / 0.9872 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2175, allocations: 0 / 0.9872 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2175, allocations: 0 / 0.9872 GB, free: 20.03 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.001048/0.2186, allocations: 0.774 MB / 0.988 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2186, allocations: 12.03 kB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.2206, allocations: 244.1 kB / 0.9882 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.2211, allocations: 433.9 kB / 0.9887 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2212, allocations: 83.94 kB / 0.9887 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2213, allocations: 15.94 kB / 0.9888 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.2224, allocations: 0.5567 MB / 0.9893 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2225, allocations: 0 / 0.9893 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.2225, allocations: 4 kB / 0.9893 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.2225, allocations: 7.938 kB / 0.9893 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.2244, allocations: 0.8235 MB / 0.9901 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.2264, allocations: 1.284 MB / 0.9914 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/0.2315, allocations: 1.095 MB / 0.9924 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009168/0.2324, allocations: 424.6 kB / 0.9928 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2325, allocations: 8 kB / 0.9929 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2336, allocations: 0.555 MB / 0.9934 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.285e-06/0.2336, allocations: 0 / 0.9934 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002962/0.2365, allocations: 1.265 MB / 0.9946 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.2366, allocations: 55.41 kB / 0.9947 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.2371, allocations: 0.5174 MB / 0.9952 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.2371, allocations: 33.7 kB / 0.9952 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2373, allocations: 200.5 kB / 0.9954 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.2373, allocations: 67 kB / 0.9955 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.2374, allocations: 8 kB / 0.9955 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.2374, allocations: 354.8 kB / 0.9958 GB, free: 11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.2384, allocations: 492.5 kB / 0.9963 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/0.2394, allocations: 0.5286 MB / 0.9968 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.2412, allocations: 0.8067 MB / 0.9976 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2412, allocations: 3.938 kB / 0.9976 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002166/0.2434, allocations: 1.134 MB / 0.9987 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.2434, allocations: 49.62 kB / 0.9988 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2434, allocations: 0 / 0.9988 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2435, allocations: 0 / 0.9988 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.2441, allocations: 103.9 kB / 0.9989 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2441, allocations: 3.938 kB / 0.9989 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.2446, allocations: 79.78 kB / 0.9989 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.2447, allocations: 23.91 kB / 0.999 GB, free: 7.758 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.0002452/0.2449, allocations: 213.8 kB / 0.9992 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.245, allocations: 47.38 kB / 0.9992 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.245, allocations: 43.92 kB / 0.9992 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2451, allocations: 8 kB / 0.9993 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2451, allocations: 3.984 kB / 0.9993 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2451, allocations: 7.922 kB / 0.9993 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.2456, allocations: 0.6456 MB / 0.9999 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2456, allocations: 0 / 0.9999 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.2462, allocations: 107.8 kB / 1 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2462, allocations: 3.938 kB / 1 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.2462, allocations: 7.984 kB / 1 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2463, allocations: 0 / 1 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2463, allocations: 0 / 1 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.2481, allocations: 0.8893 MB / 1.001 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.2484, allocations: 196.3 kB / 1.001 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.2484, allocations: 11.98 kB / 1.001 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.249, allocations: 79.92 kB / 1.001 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2491, allocations: 31.89 kB / 1.001 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2492, allocations: 11.98 kB / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003513/0.2495, allocations: 383.1 kB / 1.002 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2495, allocations: 0 / 1.002 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003819/0.2499, allocations: 96 kB / 1.002 GB, free: 4.902 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.0003457/0.2503, allocations: 165 kB / 1.002 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.2523, allocations: 0.9948 MB / 1.003 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2523, allocations: 0 / 1.003 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.2533, allocations: 451.6 kB / 1.003 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.2538, allocations: 91.61 kB / 1.003 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2558, allocations: 1.132 MB / 1.004 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.256, allocations: 0.8544 MB / 1.005 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005326/0.2566, allocations: 126.9 kB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.2568, allocations: 43.41 kB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.2568, allocations: 0 / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of Templates: time 0.01392/0.2707, allocations: 8.046 MB / 1.013 GB, free: 9.07 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)