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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.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.7.0.x_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.005209/0.005209, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001121/0.001121, allocations: 188.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 3.098 MB / 414.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.001393/0.001393, allocations: 68.38 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00392/0.2441, allocations: 2.909 MB / 0.8309 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.2472, allocations: 2.256 MB / 0.8331 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2473, allocations: 4 kB / 0.8331 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.2481, allocations: 266.5 kB / 0.8334 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2482, allocations: 79.28 kB / 0.8335 GB, free: 10.61 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.001131/0.2494, allocations: 483.4 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.2499, allocations: 0.5025 MB / 0.8344 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2501, allocations: 52.72 kB / 0.8345 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.2503, allocations: 203.4 kB / 0.8347 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2506, allocations: 211.3 kB / 0.8349 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2506, allocations: 36 kB / 0.8349 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.251, allocations: 251.7 kB / 0.8351 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2512, allocations: 159.6 kB / 0.8353 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.2514, allocations: 210.9 kB / 0.8355 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008221/0.2522, allocations: 0.7633 MB / 0.8362 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2523, allocations: 0 / 0.8362 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2523, allocations: 3.938 kB / 0.8362 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2523, allocations: 4 kB / 0.8362 GB, free: 7.766 MB / 0.6544 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.001319/0.2536, allocations: 0.836 MB / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2536, allocations: 12.03 kB / 0.8371 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.2556, allocations: 232.2 kB / 0.8373 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.2563, allocations: 425.9 kB / 0.8377 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.2564, allocations: 87.94 kB / 0.8378 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.2565, allocations: 12.38 kB / 0.8378 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.2577, allocations: 0.5342 MB / 0.8383 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2578, allocations: 0 / 0.8383 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.2578, allocations: 4 kB / 0.8383 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2578, allocations: 4 kB / 0.8383 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.2598, allocations: 0.7689 MB / 0.8391 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.2619, allocations: 1.269 MB / 0.8403 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/0.2669, allocations: 1.01 MB / 0.8413 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009005/0.2678, allocations: 404.6 kB / 0.8417 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2678, allocations: 4.328 kB / 0.8417 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.269, allocations: 0.534 MB / 0.8422 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.269, allocations: 4 kB / 0.8422 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.003077/0.2721, allocations: 1.178 MB / 0.8434 GB, free: 276 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2722, allocations: 55.41 kB / 0.8434 GB, free: 208 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.2729, allocations: 0.5175 MB / 0.8439 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.273, allocations: 33.7 kB / 0.844 GB, free: 15.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.2731, allocations: 200.5 kB / 0.8441 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.2732, allocations: 67.02 kB / 0.8442 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2734, allocations: 69.66 kB / 0.8443 GB, free: 15.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2736, allocations: 354.8 kB / 0.8446 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.2746, allocations: 472.5 kB / 0.8451 GB, free: 14.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.2757, allocations: 0.4935 MB / 0.8456 GB, free: 13.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.2776, allocations: 0.7549 MB / 0.8463 GB, free: 13.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2776, allocations: 0 / 0.8463 GB, free: 13.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002441/0.2801, allocations: 1.087 MB / 0.8473 GB, free: 12.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.2801, allocations: 41.69 kB / 0.8474 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2801, allocations: 0 / 0.8474 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.2802, allocations: 11.92 kB / 0.8474 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.2808, allocations: 91.83 kB / 0.8475 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2808, allocations: 4 kB / 0.8475 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.2813, allocations: 59.78 kB / 0.8475 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.2814, allocations: 15.98 kB / 0.8476 GB, free: 11.89 MB / 0.67 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.2817, allocations: 213.7 kB / 0.8478 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.2818, allocations: 47.42 kB / 0.8478 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.2819, allocations: 51.86 kB / 0.8479 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2819, allocations: 7.938 kB / 0.8479 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2819, allocations: 4 kB / 0.8479 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2819, allocations: 3.984 kB / 0.8479 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.2826, allocations: 0.6377 MB / 0.8485 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2826, allocations: 0 / 0.8485 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.2832, allocations: 91.89 kB / 0.8486 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.2832, allocations: 3.984 kB / 0.8486 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.2833, allocations: 15.92 kB / 0.8486 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2833, allocations: 0 / 0.8486 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2833, allocations: 0 / 0.8486 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.2853, allocations: 0.832 MB / 0.8494 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.2856, allocations: 192.4 kB / 0.8496 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.2857, allocations: 11.94 kB / 0.8496 GB, free: 9.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.2862, allocations: 59.92 kB / 0.8497 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2863, allocations: 31.89 kB / 0.8497 GB, free: 9.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.2864, allocations: 11.98 kB / 0.8497 GB, free: 9.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004626/0.2868, allocations: 391.1 kB / 0.8501 GB, free: 9.211 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2868, allocations: 0 / 0.8501 GB, free: 9.211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004286/0.2873, allocations: 100 kB / 0.8502 GB, free: 9.113 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000424/0.2877, allocations: 156.3 kB / 0.8503 GB, free: 8.957 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.2898, allocations: 0.946 MB / 0.8513 GB, free: 8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2898, allocations: 0 / 0.8513 GB, free: 8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.2908, allocations: 423.6 kB / 0.8517 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.2913, allocations: 89.86 kB / 0.8517 GB, free: 7.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2936, allocations: 1.044 MB / 0.8528 GB, free: 6.426 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.2941, allocations: 0.8581 MB / 0.8536 GB, free: 5.539 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004215/0.2945, allocations: 126.9 kB / 0.8537 GB, free: 5.418 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2947, allocations: 43.41 kB / 0.8538 GB, free: 5.375 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/0.2947, allocations: 0 / 0.8538 GB, free: 5.375 MB / 0.67 GB Notification: Performance of Templates: time 0.0153/0.31, allocations: 8.862 MB / 0.8624 GB, free: 12.64 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)