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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00105/0.00105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001038/0.001038, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2717, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07504/0.3468, allocations: 74.54 MB / 1.125 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.367, allocations: 12.66 MB / 1.138 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.3689, allocations: 63.56 kB / 1.138 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.3708, allocations: 0.7189 MB / 1.138 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.376, allocations: 2.291 MB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.3787, allocations: 1.28 MB / 1.142 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.3831, allocations: 4.412 MB / 1.146 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.3849, allocations: 1.425 MB / 1.148 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.3894, allocations: 1.64 MB / 1.149 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.3917, allocations: 1.233 MB / 1.15 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.3921, allocations: 160 kB / 1.15 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.3947, allocations: 1.427 MB / 1.152 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.3951, allocations: 394.6 kB / 1.152 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.3963, allocations: 0.906 MB / 1.153 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.4013, allocations: 2.84 MB / 1.156 GB, free: 14.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4014, allocations: 0 / 1.156 GB, free: 14.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4014, allocations: 0 / 1.156 GB, free: 14.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.862e-05/0.4014, allocations: 0 / 1.156 GB, free: 14.37 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.00437/0.4058, allocations: 2.081 MB / 1.158 GB, free: 12.22 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4059, allocations: 16.61 kB / 1.158 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.406, allocations: 152.1 kB / 1.158 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007607/0.4068, allocations: 226.8 kB / 1.158 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.409, allocations: 1.493 MB / 1.16 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.4091, allocations: 77.98 kB / 1.16 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.4092, allocations: 100 kB / 1.16 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.4112, allocations: 1.104 MB / 1.161 GB, free: 8.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.4112, allocations: 0 / 1.161 GB, free: 8.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.4113, allocations: 40 kB / 1.161 GB, free: 8.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.4113, allocations: 28 kB / 1.161 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.4131, allocations: 0.89 MB / 1.162 GB, free: 8.012 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.005031/0.4181, allocations: 4.899 MB / 1.167 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4194, allocations: 0.6237 MB / 1.167 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.4201, allocations: 350.8 kB / 1.168 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/0.4206, allocations: 0.8354 MB / 1.168 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4207, allocations: 39.12 kB / 1.169 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=61): time 2.314e-06/0.4207, allocations: 0 / 1.169 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of matching and sorting (n=61): time 0.009568/0.4302, allocations: 1.678 MB / 1.17 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.4303, allocations: 55.97 kB / 1.17 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.4317, allocations: 1.21 MB / 1.171 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.4317, allocations: 41.64 kB / 1.171 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.4322, allocations: 0.6026 MB / 1.172 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.4323, allocations: 216.9 kB / 1.172 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.4326, allocations: 162.4 kB / 1.172 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4327, allocations: 330 kB / 1.173 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.4333, allocations: 288.7 kB / 1.173 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.4341, allocations: 497.4 kB / 1.173 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.4354, allocations: 0.7129 MB / 1.174 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4354, allocations: 3.938 kB / 1.174 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006159/0.4415, allocations: 1.265 MB / 1.175 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4416, allocations: 8 kB / 1.175 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4416, allocations: 4 kB / 1.175 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008234/0.4424, allocations: 136.8 kB / 1.176 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.4434, allocations: 167.8 kB / 1.176 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.4445, allocations: 0.6889 MB / 1.176 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/0.4454, allocations: 163 kB / 1.177 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.4455, allocations: 32 kB / 1.177 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000891/0.4464, allocations: 0.5487 MB / 1.177 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007181/0.4471, allocations: 499.8 kB / 1.178 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/0.4484, allocations: 0.7166 MB / 1.178 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.4484, allocations: 0 / 1.178 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004131/0.4525, allocations: 1.254 MB / 1.179 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.4525, allocations: 13.59 kB / 1.18 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4526, allocations: 4 kB / 1.18 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.453, allocations: 140.7 kB / 1.18 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.4535, allocations: 159.8 kB / 1.18 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006634/0.4542, allocations: 0.6927 MB / 1.18 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/0.4551, allocations: 143.4 kB / 1.181 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.4552, allocations: 28 kB / 1.181 GB, free: 3.973 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.0001756/0.4554, allocations: 224.1 kB / 1.181 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4556, allocations: 142.2 kB / 1.181 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/0.4598, allocations: 1.263 MB / 1.182 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4598, allocations: 4 kB / 1.182 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4598, allocations: 4 kB / 1.182 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005586/0.4654, allocations: 1.103 MB / 1.183 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/0.4722, allocations: 2.594 MB / 1.186 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4722, allocations: 4 kB / 1.186 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.4727, allocations: 116.3 kB / 1.186 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006651/0.4734, allocations: 132.7 kB / 1.186 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.4735, allocations: 23.92 kB / 1.186 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007216/0.4807, allocations: 2.591 MB / 1.189 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4807, allocations: 11.88 kB / 1.189 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.4853, allocations: 1.691 MB / 1.19 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.4858, allocations: 303.2 kB / 1.191 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4859, allocations: 19.98 kB / 1.191 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/0.4867, allocations: 83.81 kB / 1.191 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4869, allocations: 64.25 kB / 1.191 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.4869, allocations: 31.98 kB / 1.191 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001021/0.488, allocations: 0.866 MB / 1.192 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.488, allocations: 0 / 1.192 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00158/0.4896, allocations: 0.7096 MB / 1.192 GB, free: 7.582 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.005579/0.4951, allocations: 2.575 MB / 1.195 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.4976, allocations: 1.149 MB / 1.196 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4976, allocations: 4 kB / 1.196 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.4989, allocations: 0.5564 MB / 1.196 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.5028, allocations: 0.8103 MB / 1.197 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/0.5291, allocations: 10.83 MB / 1.208 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.5298, allocations: 1.168 MB / 1.209 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001084/0.5309, allocations: 310.9 kB / 1.209 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.5315, allocations: 0.5071 MB / 1.21 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.5315, allocations: 0 / 1.21 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.683/2.214, allocations: 41.47 MB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/2.215, allocations: 263.7 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/6.983, allocations: 1.625 kB / 1.251 GB, free: 186.9 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)