Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_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.001259/0.00126, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001305/0.001305, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.262/1.262, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.224/2.224, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5622/0.5636, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004091/0.5677, allocations: 2.938 MB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.5706, allocations: 2.186 MB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.5707, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.5715, allocations: 265 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.5716, allocations: 67.42 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.5727, allocations: 454.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.5732, allocations: 0.5064 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.5733, allocations: 56.62 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.5735, allocations: 207.4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.5738, allocations: 211.3 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.5738, allocations: 36 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.5742, allocations: 251.7 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.5744, allocations: 155.6 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.5746, allocations: 218.9 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.5753, allocations: 0.7517 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5753, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5753, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5753, allocations: 4 kB / 1.025 GB, free: 10.42 MB / 0.7794 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.001339/0.5766, allocations: 0.8321 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5767, allocations: 12.03 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.5768, allocations: 46.73 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5788, allocations: 224.2 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.5793, allocations: 425.9 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5795, allocations: 91.94 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.5795, allocations: 12.38 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.5808, allocations: 0.5338 MB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5808, allocations: 0 / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.5808, allocations: 3.984 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5809, allocations: 8 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.5828, allocations: 0.7611 MB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.585, allocations: 1.261 MB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.5903, allocations: 1.011 MB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009325/0.5912, allocations: 396.9 kB / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.5913, allocations: 11.92 kB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.5925, allocations: 0.5417 MB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.5925, allocations: 0 / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.002998/0.5955, allocations: 1.172 MB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.5955, allocations: 63.41 kB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.5961, allocations: 0.5174 MB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/0.5962, allocations: 33.7 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5964, allocations: 200.5 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.5965, allocations: 67 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.5966, allocations: 73.64 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5968, allocations: 358.7 kB / 1.033 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.5978, allocations: 468.5 kB / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5989, allocations: 0.4915 MB / 1.034 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.6007, allocations: 0.7537 MB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6007, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002284/0.603, allocations: 1.077 MB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.6031, allocations: 37.69 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6031, allocations: 7.938 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6031, allocations: 4 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.6037, allocations: 87.83 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6038, allocations: 8 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.6043, allocations: 55.84 kB / 1.036 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.6043, allocations: 15.97 kB / 1.036 GB, free: 14.52 MB / 0.795 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.0002625/0.6046, allocations: 221.6 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.6047, allocations: 43.44 kB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.6048, allocations: 51.86 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6048, allocations: 4 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6048, allocations: 0 / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.6048, allocations: 3.984 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.6054, allocations: 0.6415 MB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6055, allocations: 0 / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.6061, allocations: 87.89 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6061, allocations: 3.938 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.6061, allocations: 11.98 kB / 1.037 GB, free: 13.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6061, allocations: 0 / 1.037 GB, free: 13.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6061, allocations: 7.938 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.6083, allocations: 0.8302 MB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.6085, allocations: 188.4 kB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.6086, allocations: 11.94 kB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.6091, allocations: 67.91 kB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.6093, allocations: 23.95 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.6093, allocations: 19.98 kB / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004371/0.6097, allocations: 391 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6098, allocations: 0 / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004141/0.6102, allocations: 104 kB / 1.039 GB, free: 11.73 MB / 0.795 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.002765/0.6129, allocations: 1.422 MB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.6153, allocations: 0.9635 MB / 1.041 GB, free: 9.309 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6153, allocations: 3.938 kB / 1.041 GB, free: 9.305 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.6163, allocations: 422.4 kB / 1.042 GB, free: 8.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.6169, allocations: 97.72 kB / 1.042 GB, free: 8.801 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.629, allocations: 7.468 MB / 1.049 GB, free: 1.246 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.6295, allocations: 0.8542 MB / 1.05 GB, free: 376 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005518/0.63, allocations: 130.9 kB / 1.05 GB, free: 244 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.6303, allocations: 135.4 kB / 1.05 GB, free: 112 kB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/0.6303, allocations: 4 kB / 1.05 GB, free: 108 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9042/1.534, allocations: 12.83 MB / 1.063 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/1.535, allocations: 243.1 kB / 1.063 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/4.182, allocations: 2.75 kB / 1.063 GB, free: 3.289 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)