Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008277/0.0008277, 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.005009/0.005009, 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003054, allocations: 12.12 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06768/0.304, allocations: 73.47 MB / 1.131 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01567/0.3197, allocations: 12.68 MB / 1.143 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.3215, allocations: 55.62 kB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.3233, allocations: 0.676 MB / 1.144 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.3286, allocations: 2.263 MB / 1.146 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.3314, allocations: 1.273 MB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005468/0.3368, allocations: 5.547 MB / 1.152 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.3385, allocations: 1.151 MB / 1.154 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.3408, allocations: 1.314 MB / 1.155 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3424, allocations: 1.131 MB / 1.156 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.3426, allocations: 56 kB / 1.156 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.3449, allocations: 1.251 MB / 1.157 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.3453, allocations: 294.4 kB / 1.158 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.3462, allocations: 0.7984 MB / 1.158 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.3492, allocations: 2.73 MB / 1.161 GB, free: 11.86 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3492, allocations: 0 / 1.161 GB, free: 11.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3492, allocations: 0 / 1.161 GB, free: 11.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.29e-05/0.3493, allocations: 8 kB / 1.161 GB, free: 11.85 MB / 0.92 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.003237/0.3525, allocations: 1.776 MB / 1.163 GB, free: 10.01 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3526, allocations: 11.97 kB / 1.163 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.3528, allocations: 156.1 kB / 1.163 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.3535, allocations: 242.8 kB / 1.163 GB, free: 9.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.3556, allocations: 1.493 MB / 1.165 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.3556, allocations: 74 kB / 1.165 GB, free: 7.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3558, allocations: 104 kB / 1.165 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.3577, allocations: 1.124 MB / 1.166 GB, free: 6.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.3577, allocations: 4 kB / 1.166 GB, free: 6.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.3578, allocations: 36 kB / 1.166 GB, free: 6.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.3578, allocations: 28 kB / 1.166 GB, free: 6.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.3597, allocations: 0.9329 MB / 1.167 GB, free: 5.719 MB / 0.92 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.005144/0.3648, allocations: 4.915 MB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.3661, allocations: 0.6514 MB / 1.172 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.3669, allocations: 375.7 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.3674, allocations: 0.8276 MB / 1.173 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3675, allocations: 39.12 kB / 1.173 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 1.773e-06/0.3675, allocations: 4 kB / 1.173 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.007248/0.3747, allocations: 1.904 MB / 1.175 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.3748, allocations: 59.97 kB / 1.175 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.3762, allocations: 1.202 MB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.3763, allocations: 45.7 kB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.3767, allocations: 0.6065 MB / 1.177 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.3769, allocations: 216.9 kB / 1.177 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.377, allocations: 65.67 kB / 1.177 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3771, allocations: 334 kB / 1.178 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/0.3778, allocations: 301.8 kB / 1.178 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008123/0.3786, allocations: 0.5092 MB / 1.179 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.38, allocations: 0.7472 MB / 1.179 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.38, allocations: 0 / 1.179 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004688/0.3847, allocations: 1.414 MB / 1.181 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3848, allocations: 193.2 kB / 1.181 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3849, allocations: 8 kB / 1.181 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006514/0.3855, allocations: 164.7 kB / 1.181 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.3861, allocations: 175.8 kB / 1.181 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/0.3869, allocations: 0.7279 MB / 1.182 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/0.3879, allocations: 167 kB / 1.182 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.388, allocations: 35.98 kB / 1.182 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-06/0.388, allocations: 4 kB / 1.182 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004457/0.3924, allocations: 1.261 MB / 1.183 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3925, allocations: 0 / 1.183 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.393, allocations: 169 kB / 1.183 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.3936, allocations: 163.8 kB / 1.184 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007771/0.3944, allocations: 0.7279 MB / 1.184 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/0.3953, allocations: 156.7 kB / 1.185 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.3954, allocations: 35.98 kB / 1.185 GB, free: 2.758 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004667/0.3958, allocations: 424.8 kB / 1.185 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.396, allocations: 134.3 kB / 1.185 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.4008, allocations: 1.424 MB / 1.186 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.4008, allocations: 11.94 kB / 1.186 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4008, allocations: 3.984 kB / 1.186 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004268/0.4051, allocations: 1.244 MB / 1.188 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/0.4111, allocations: 2.743 MB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.4112, allocations: 4 kB / 1.19 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.4116, allocations: 116.3 kB / 1.19 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005885/0.4122, allocations: 164.7 kB / 1.191 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.4123, allocations: 19.98 kB / 1.191 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007487/0.413, allocations: 0.7201 MB / 1.191 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.413, allocations: 12 kB / 1.191 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/0.4182, allocations: 1.856 MB / 1.193 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.4186, allocations: 335 kB / 1.194 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4187, allocations: 19.98 kB / 1.194 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/0.4196, allocations: 99.16 kB / 1.194 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.4197, allocations: 48.31 kB / 1.194 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.4197, allocations: 31.98 kB / 1.194 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001037/0.4208, allocations: 0.8738 MB / 1.195 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.343e-06/0.4208, allocations: 0 / 1.195 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001465/0.4223, allocations: 0.7018 MB / 1.195 GB, free: 7.504 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006027/0.4283, allocations: 2.74 MB / 1.198 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.4307, allocations: 1.168 MB / 1.199 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4307, allocations: 4 kB / 1.199 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.4315, allocations: 419.2 kB / 1.199 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/0.4354, allocations: 0.794 MB / 1.2 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.4579, allocations: 11.22 MB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.4585, allocations: 1.169 MB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001076/0.4596, allocations: 306.9 kB / 1.213 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.4603, allocations: 0.5266 MB / 1.213 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.4603, allocations: 0 / 1.213 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.584/5.044, allocations: 42.27 MB / 1.254 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/5.045, allocations: 276 kB / 1.255 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/7.849, allocations: 3.562 kB / 1.255 GB, free: 179.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)