Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",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.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001645/0.001645, allocations: 195 kB / 16.14 MB, free: 6.711 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.346/2.346, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.48 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2798, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07336/0.3532, allocations: 74.71 MB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.3719, allocations: 12.82 MB / 1.138 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/0.3752, allocations: 59.62 kB / 1.138 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.378, allocations: 0.6721 MB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007487/0.3856, allocations: 2.267 MB / 1.141 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.389, allocations: 1.278 MB / 1.142 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006512/0.3955, allocations: 5.543 MB / 1.147 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.3976, allocations: 1.182 MB / 1.148 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.4008, allocations: 1.357 MB / 1.15 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.4028, allocations: 1.182 MB / 1.151 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.403, allocations: 72 kB / 1.151 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.4056, allocations: 1.259 MB / 1.152 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.4059, allocations: 314.6 kB / 1.153 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008994/0.4068, allocations: 0.8045 MB / 1.153 GB, free: 392 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.4096, allocations: 2.777 MB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4097, allocations: 0 / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.31e-07/0.4097, allocations: 0 / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.4097, allocations: 0 / 1.156 GB, free: 13.6 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.003448/0.4131, allocations: 2.083 MB / 1.158 GB, free: 11.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4132, allocations: 15.97 kB / 1.158 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.4134, allocations: 144.1 kB / 1.158 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.4141, allocations: 234.8 kB / 1.158 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4164, allocations: 1.481 MB / 1.16 GB, free: 9.516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.4164, allocations: 78 kB / 1.16 GB, free: 9.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.4166, allocations: 104 kB / 1.16 GB, free: 9.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.4185, allocations: 1.104 MB / 1.161 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4185, allocations: 0 / 1.161 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.4186, allocations: 36 kB / 1.161 GB, free: 8.164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.4186, allocations: 35.98 kB / 1.161 GB, free: 8.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.4204, allocations: 0.8822 MB / 1.162 GB, free: 7.242 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.005555/0.426, allocations: 4.907 MB / 1.167 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.4273, allocations: 0.6205 MB / 1.167 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.428, allocations: 350.3 kB / 1.168 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.4287, allocations: 0.8238 MB / 1.169 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4287, allocations: 43.12 kB / 1.169 GB, free: 16 kB / 0.92 GB Notification: Performance of pre-optimization done (n=61): time 1.683e-06/0.4287, allocations: 3.938 kB / 1.169 GB, free: 12 kB / 0.92 GB Notification: Performance of matching and sorting (n=61): time 0.006494/0.4352, allocations: 1.678 MB / 1.17 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4353, allocations: 55.97 kB / 1.17 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.4368, allocations: 1.214 MB / 1.172 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.4368, allocations: 37.7 kB / 1.172 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.4373, allocations: 0.5987 MB / 1.172 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.4375, allocations: 216.9 kB / 1.172 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.4377, allocations: 158.5 kB / 1.172 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4378, allocations: 334 kB / 1.173 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.4385, allocations: 292.6 kB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.4393, allocations: 499.8 kB / 1.174 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.4406, allocations: 0.7129 MB / 1.174 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4406, allocations: 3.938 kB / 1.174 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004295/0.4449, allocations: 1.269 MB / 1.175 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.445, allocations: 12.03 kB / 1.176 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.445, allocations: 4 kB / 1.176 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.4455, allocations: 132.7 kB / 1.176 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.4461, allocations: 159.7 kB / 1.176 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007647/0.4469, allocations: 0.6928 MB / 1.176 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/0.4478, allocations: 168.1 kB / 1.177 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.4479, allocations: 31.98 kB / 1.177 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009546/0.4488, allocations: 0.5488 MB / 1.177 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007754/0.4496, allocations: 499.8 kB / 1.178 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/0.4509, allocations: 0.7089 MB / 1.178 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.4509, allocations: 0 / 1.178 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004212/0.4551, allocations: 1.257 MB / 1.18 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4552, allocations: 9.406 kB / 1.18 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4552, allocations: 8.359 kB / 1.18 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.4556, allocations: 140.8 kB / 1.18 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.4562, allocations: 163.7 kB / 1.18 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007703/0.457, allocations: 0.6927 MB / 1.181 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.458, allocations: 135.4 kB / 1.181 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.458, allocations: 39.98 kB / 1.181 GB, free: 3.191 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.4582, allocations: 218.1 kB / 1.181 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4584, allocations: 134.3 kB / 1.181 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/0.4627, allocations: 1.267 MB / 1.182 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.4628, allocations: 8 kB / 1.182 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4628, allocations: 7.984 kB / 1.182 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003784/0.4666, allocations: 1.096 MB / 1.183 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.4724, allocations: 2.594 MB / 1.186 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.4724, allocations: 11.92 kB / 1.186 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.4729, allocations: 112.3 kB / 1.186 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.4733, allocations: 132.7 kB / 1.186 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.4734, allocations: 23.92 kB / 1.186 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004389/0.4778, allocations: 2.341 MB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4778, allocations: 4 kB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.4826, allocations: 1.699 MB / 1.19 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.4831, allocations: 303.2 kB / 1.19 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.4833, allocations: 19.98 kB / 1.19 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/0.4841, allocations: 83.83 kB / 1.191 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4842, allocations: 60.23 kB / 1.191 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.4842, allocations: 27.98 kB / 1.191 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001116/0.4854, allocations: 0.8738 MB / 1.191 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4854, allocations: 0 / 1.191 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001652/0.487, allocations: 0.7057 MB / 1.192 GB, free: 7.07 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005749/0.4928, allocations: 2.591 MB / 1.195 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.4951, allocations: 1.102 MB / 1.196 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4952, allocations: 0 / 1.196 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4965, allocations: 0.5603 MB / 1.196 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/0.4996, allocations: 0.7614 MB / 1.197 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.522, allocations: 10.83 MB / 1.208 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.5227, allocations: 1.165 MB / 1.209 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001031/0.5238, allocations: 303 kB / 1.209 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.5245, allocations: 0.511 MB / 1.21 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.5245, allocations: 0 / 1.21 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4817/1.006, allocations: 40.31 MB / 1.249 GB, free: 184 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.006, allocations: 267.6 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.771, allocations: 7.188 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)