Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.426/1.426, allocations: 287.4 MB / 302.6 MB, free: 8.164 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.000846/0.0008461, allocations: 174.6 kB / 371.1 MB, free: 10.82 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.081/1.081, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006631/0.0006631, allocations: 98.83 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 12.06 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.0476/0.1828, allocations: 69.44 MB / 1.047 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1955, allocations: 11.85 MB / 1.058 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008431/0.1964, allocations: 55.62 kB / 1.058 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1975, allocations: 0.5666 MB / 1.059 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.2007, allocations: 1.871 MB / 1.061 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.2027, allocations: 0.9828 MB / 1.061 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00353/0.2062, allocations: 4.805 MB / 1.066 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2073, allocations: 1.12 MB / 1.067 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2884/0.4957, allocations: 1.259 MB / 1.069 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.4976, allocations: 1.062 MB / 1.07 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.4978, allocations: 55.38 kB / 1.07 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.5, allocations: 0.9397 MB / 1.071 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.5002, allocations: 271.7 kB / 1.071 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.5006, allocations: 363 kB / 1.071 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.5029, allocations: 2.085 MB / 1.073 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5029, allocations: 0 / 1.073 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5029, allocations: 0.8438 kB / 1.073 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.5029, allocations: 3.656 kB / 1.073 GB, free: 34.01 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002608/0.5055, allocations: 1.785 MB / 1.075 GB, free: 33.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5056, allocations: 9.969 kB / 1.075 GB, free: 33.03 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.5057, allocations: 152 kB / 1.075 GB, free: 32.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006385/0.5064, allocations: 242.4 kB / 1.075 GB, free: 32.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.5083, allocations: 1.475 MB / 1.077 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.5084, allocations: 76.03 kB / 1.077 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.5085, allocations: 105.1 kB / 1.077 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.5104, allocations: 1.116 MB / 1.078 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.5104, allocations: 0.75 kB / 1.078 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.5105, allocations: 41.69 kB / 1.078 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.5105, allocations: 27.86 kB / 1.078 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.5123, allocations: 0.9224 MB / 1.079 GB, free: 32.34 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.517, allocations: 4.926 MB / 1.084 GB, free: 30.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.5182, allocations: 0.6456 MB / 1.084 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.5189, allocations: 372.7 kB / 1.085 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.5193, allocations: 0.8342 MB / 1.086 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.5193, allocations: 37.69 kB / 1.086 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/0.5193, allocations: 5.062 kB / 1.086 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.006292/0.5256, allocations: 1.893 MB / 1.087 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.5256, allocations: 62.84 kB / 1.088 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.5269, allocations: 1.195 MB / 1.089 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.5269, allocations: 39.23 kB / 1.089 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.5273, allocations: 0.6017 MB / 1.089 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.5274, allocations: 222.6 kB / 1.09 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.5275, allocations: 13.16 kB / 1.09 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.5275, allocations: 333.5 kB / 1.09 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.5281, allocations: 295.9 kB / 1.09 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.5288, allocations: 0.4977 MB / 1.091 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.53, allocations: 0.7393 MB / 1.091 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.53, allocations: 0 / 1.091 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004026/0.534, allocations: 1.405 MB / 1.093 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.5341, allocations: 188.2 kB / 1.093 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5341, allocations: 3.875 kB / 1.093 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.5347, allocations: 171 kB / 1.093 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.5352, allocations: 161.8 kB / 1.093 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006512/0.5359, allocations: 0.7329 MB / 1.094 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.5368, allocations: 165.9 kB / 1.094 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.5369, allocations: 32.39 kB / 1.094 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.5369, allocations: 3.312 kB / 1.094 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003898/0.5408, allocations: 1.259 MB / 1.095 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5409, allocations: 3.812 kB / 1.095 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.5414, allocations: 167.1 kB / 1.096 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.5419, allocations: 162.4 kB / 1.096 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006259/0.5425, allocations: 0.7273 MB / 1.096 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/0.5434, allocations: 163.5 kB / 1.097 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.5435, allocations: 30.5 kB / 1.097 GB, free: 25.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.5439, allocations: 422.8 kB / 1.097 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.5441, allocations: 132.2 kB / 1.097 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/0.5483, allocations: 1.414 MB / 1.098 GB, free: 25.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5483, allocations: 15.27 kB / 1.098 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5483, allocations: 2.812 kB / 1.098 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003683/0.552, allocations: 1.239 MB / 1.1 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.5574, allocations: 2.743 MB / 1.102 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5574, allocations: 3.688 kB / 1.102 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.5579, allocations: 125.3 kB / 1.103 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/0.5584, allocations: 155.6 kB / 1.103 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.5584, allocations: 19.89 kB / 1.103 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/0.559, allocations: 0.7209 MB / 1.103 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.559, allocations: 13.94 kB / 1.103 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/0.5634, allocations: 1.843 MB / 1.105 GB, free: 23.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.5638, allocations: 330.1 kB / 1.106 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.5639, allocations: 24.06 kB / 1.106 GB, free: 23.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/0.5647, allocations: 97.48 kB / 1.106 GB, free: 23.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.5648, allocations: 60.75 kB / 1.106 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5648, allocations: 32.38 kB / 1.106 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008596/0.5657, allocations: 0.8562 MB / 1.107 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5657, allocations: 0 / 1.107 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001455/0.5672, allocations: 0.6956 MB / 1.107 GB, free: 23.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005154/0.5723, allocations: 2.711 MB / 1.11 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.5744, allocations: 1.172 MB / 1.111 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5745, allocations: 1.188 kB / 1.111 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.5752, allocations: 408.5 kB / 1.111 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.5787, allocations: 0.8003 MB / 1.112 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.5945, allocations: 8.326 MB / 1.12 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.595, allocations: 1.177 MB / 1.121 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001047/0.5961, allocations: 300.4 kB / 1.122 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.5967, allocations: 0.5114 MB / 1.122 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/0.5967, allocations: 1.125 kB / 1.122 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4347/1.031, allocations: 44.5 MB / 1.166 GB, free: 1.383 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.032, allocations: 248.1 kB / 1.166 GB, free: 1.055 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.923, allocations: 0 / 1.166 GB, free: 1.055 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)