Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.545, allocations: 140.4 MB / 0.9497 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003193/0.5482, allocations: 2.894 MB / 0.9526 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.5504, allocations: 2.238 MB / 0.9547 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.5505, allocations: 3.469 kB / 0.9547 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.5511, allocations: 262.8 kB / 0.955 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.5512, allocations: 73.53 kB / 0.9551 GB, free: 5.094 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.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.0008373/0.5521, allocations: 497.6 kB / 0.9555 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.5524, allocations: 0.5033 MB / 0.956 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.5526, allocations: 63.67 kB / 0.9561 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.5527, allocations: 202.8 kB / 0.9563 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.5529, allocations: 214.4 kB / 0.9565 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.553, allocations: 37.78 kB / 0.9565 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.5533, allocations: 253 kB / 0.9568 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.5534, allocations: 161.2 kB / 0.9569 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.5536, allocations: 212.5 kB / 0.9571 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.5541, allocations: 0.7435 MB / 0.9578 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5541, allocations: 0 / 0.9578 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5541, allocations: 1.156 kB / 0.9578 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5541, allocations: 0 / 0.9578 GB, free: 3.266 MB / 0.7169 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.001079/0.5552, allocations: 0.8426 MB / 0.9587 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5552, allocations: 10.41 kB / 0.9587 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.5553, allocations: 50.92 kB / 0.9587 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.5573, allocations: 230.6 kB / 0.959 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.5577, allocations: 430.8 kB / 0.9594 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.5578, allocations: 88.53 kB / 0.9594 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.5579, allocations: 13.31 kB / 0.9595 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.559, allocations: 0.5366 MB / 0.96 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.559, allocations: 0 / 0.96 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.5591, allocations: 5.125 kB / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5591, allocations: 7.328 kB / 0.96 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.5609, allocations: 0.7629 MB / 0.9607 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.5627, allocations: 1.269 MB / 0.962 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/0.5678, allocations: 1.008 MB / 0.963 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009399/0.5687, allocations: 400 kB / 0.9633 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5687, allocations: 2.625 kB / 0.9633 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.5699, allocations: 0.5378 MB / 0.9639 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.5699, allocations: 0 / 0.9639 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003044/0.573, allocations: 1.174 MB / 0.965 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.573, allocations: 62.02 kB / 0.9651 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.5735, allocations: 0.5213 MB / 0.9656 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.5736, allocations: 37.66 kB / 0.9656 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5737, allocations: 195.2 kB / 0.9658 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.5738, allocations: 68.05 kB / 0.9659 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.574, allocations: 67.22 kB / 0.9659 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5741, allocations: 359.7 kB / 0.9663 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5752, allocations: 462.2 kB / 0.9667 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.5763, allocations: 0.4935 MB / 0.9672 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5781, allocations: 0.7586 MB / 0.9679 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5781, allocations: 0 / 0.9679 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002311/0.5805, allocations: 1.085 MB / 0.969 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.5805, allocations: 44.91 kB / 0.969 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5805, allocations: 1.375 kB / 0.969 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5805, allocations: 4.922 kB / 0.9691 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.5811, allocations: 90.27 kB / 0.9691 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5811, allocations: 1.5 kB / 0.9691 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.5816, allocations: 64.97 kB / 0.9692 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.5817, allocations: 16.89 kB / 0.9692 GB, free: 12.45 MB / 0.7325 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.0002345/0.5819, allocations: 212.4 kB / 0.9694 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.582, allocations: 48.12 kB / 0.9695 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.5821, allocations: 49.55 kB / 0.9695 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5821, allocations: 6.469 kB / 0.9695 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5821, allocations: 1.125 kB / 0.9695 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5821, allocations: 3.984 kB / 0.9695 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.5827, allocations: 0.6436 MB / 0.9702 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5827, allocations: 3.938 kB / 0.9702 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.5833, allocations: 95.02 kB / 0.9702 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5833, allocations: 1.031 kB / 0.9702 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.5834, allocations: 11.67 kB / 0.9703 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5834, allocations: 5.812 kB / 0.9703 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5834, allocations: 0 / 0.9703 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.5854, allocations: 0.8321 MB / 0.9711 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.5856, allocations: 196.8 kB / 0.9713 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.5857, allocations: 8.062 kB / 0.9713 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.5863, allocations: 61.52 kB / 0.9713 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.5864, allocations: 26.23 kB / 0.9714 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.5864, allocations: 22.78 kB / 0.9714 GB, free: 11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003702/0.5868, allocations: 385.1 kB / 0.9717 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5868, allocations: 0 / 0.9717 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003725/0.5872, allocations: 105.3 kB / 0.9718 GB, free: 10.77 MB / 0.7325 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.002501/0.5897, allocations: 1.44 MB / 0.9733 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.5918, allocations: 0.9608 MB / 0.9742 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5919, allocations: 4 kB / 0.9742 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5929, allocations: 422.8 kB / 0.9746 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5933, allocations: 89.84 kB / 0.9747 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6043, allocations: 7.393 MB / 0.9819 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.6046, allocations: 0.8542 MB / 0.9827 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004846/0.6051, allocations: 138.8 kB / 0.9829 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.6054, allocations: 139.4 kB / 0.983 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.6054, allocations: 0 / 0.983 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.453/4.059, allocations: 13.23 MB / 0.9959 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/12.93, allocations: 6.953 kB / 0.9959 GB, free: 2.449 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)