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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008747/0.0008747, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005268/0.005269, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003108, allocations: 11.98 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.5932, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00229/0.5956, allocations: 2.56 MB / 0.9577 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.5978, allocations: 2.207 MB / 0.9598 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.5979, allocations: 1.219 kB / 0.9598 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.5985, allocations: 248.6 kB / 0.9601 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.5986, allocations: 64.77 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000795/0.5994, allocations: 445 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.5998, allocations: 493 kB / 0.961 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.5999, allocations: 57.53 kB / 0.9611 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.6001, allocations: 180.8 kB / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.6003, allocations: 205.6 kB / 0.9615 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.6003, allocations: 22.59 kB / 0.9615 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.6007, allocations: 229.9 kB / 0.9617 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.6008, allocations: 151 kB / 0.9618 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.601, allocations: 224 kB / 0.9621 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.6015, allocations: 0.7232 MB / 0.9628 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.6015, allocations: 5.281 kB / 0.9628 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6015, allocations: 0 / 0.9628 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.6015, allocations: 0 / 0.9628 GB, free: 2.031 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.00102/0.6026, allocations: 0.7662 MB / 0.9635 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.6026, allocations: 12.91 kB / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.6027, allocations: 47.3 kB / 0.9636 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.6047, allocations: 242.6 kB / 0.9638 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.6051, allocations: 425.9 kB / 0.9642 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.6052, allocations: 90 kB / 0.9643 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.6052, allocations: 12.91 kB / 0.9643 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.6064, allocations: 0.5608 MB / 0.9649 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6064, allocations: 0 / 0.9649 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.6065, allocations: 5.5 kB / 0.9649 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.6065, allocations: 2.656 kB / 0.9649 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.6084, allocations: 0.8167 MB / 0.9657 GB, free: 112 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.6106, allocations: 1.289 MB / 0.9669 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/0.6159, allocations: 1.086 MB / 0.968 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009907/0.6169, allocations: 429.3 kB / 0.9684 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.6169, allocations: 6 kB / 0.9684 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.6181, allocations: 0.5585 MB / 0.9689 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.6181, allocations: 4 kB / 0.969 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003186/0.6213, allocations: 1.256 MB / 0.9702 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.6213, allocations: 58.91 kB / 0.9702 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.6219, allocations: 0.524 MB / 0.9707 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.622, allocations: 42.64 kB / 0.9708 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.6222, allocations: 199.3 kB / 0.971 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.6223, allocations: 67.81 kB / 0.971 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.6223, allocations: 25.67 kB / 0.9711 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6225, allocations: 356 kB / 0.9714 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.6236, allocations: 499 kB / 0.9719 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.6247, allocations: 0.5234 MB / 0.9724 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.6267, allocations: 0.806 MB / 0.9732 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6267, allocations: 0 / 0.9732 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002439/0.6291, allocations: 1.143 MB / 0.9743 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.6292, allocations: 49.34 kB / 0.9743 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6292, allocations: 0 / 0.9743 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6292, allocations: 1.219 kB / 0.9743 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.6298, allocations: 104.1 kB / 0.9744 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6298, allocations: 0.9688 kB / 0.9744 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.6304, allocations: 75.25 kB / 0.9745 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.6304, allocations: 19.97 kB / 0.9745 GB, free: 11.2 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.0002478/0.6307, allocations: 218.5 kB / 0.9747 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.6308, allocations: 47.38 kB / 0.9748 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/0.6309, allocations: 47.92 kB / 0.9748 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6309, allocations: 4 kB / 0.9748 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6309, allocations: 0 / 0.9748 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6309, allocations: 3.984 kB / 0.9748 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.6315, allocations: 0.6414 MB / 0.9755 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6315, allocations: 0 / 0.9755 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.6321, allocations: 111.8 kB / 0.9756 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6322, allocations: 3.938 kB / 0.9756 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.6322, allocations: 11.98 kB / 0.9756 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6322, allocations: 0 / 0.9756 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6322, allocations: 0 / 0.9756 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.6343, allocations: 0.8856 MB / 0.9765 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.6346, allocations: 196.4 kB / 0.9766 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.6346, allocations: 8 kB / 0.9766 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.6352, allocations: 83.91 kB / 0.9767 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.6353, allocations: 19.97 kB / 0.9767 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.6353, allocations: 11.98 kB / 0.9768 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003936/0.6357, allocations: 395 kB / 0.9771 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6357, allocations: 4 kB / 0.9771 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003758/0.6361, allocations: 100 kB / 0.9772 GB, free: 8.344 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.002663/0.6388, allocations: 1.502 MB / 0.9787 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.641, allocations: 0.9886 MB / 0.9797 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.641, allocations: 0 / 0.9797 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6421, allocations: 455.6 kB / 0.9801 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.6426, allocations: 77.91 kB / 0.9802 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.6547, allocations: 7.632 MB / 0.9876 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.6552, allocations: 0.862 MB / 0.9885 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00052/0.6557, allocations: 126.9 kB / 0.9886 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.656, allocations: 139.3 kB / 0.9887 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of SimCode: time 8.51e-07/0.656, allocations: 0 / 0.9887 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.592/2.248, allocations: 12.4 MB / 1.001 GB, free: 328 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/2.248, allocations: 288.1 kB / 1.001 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/4.274, allocations: 0 / 1.001 GB, free: 15.94 MB / 0.7637 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)