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.0008993/0.0008993, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005271/0.005271, allocations: 174 kB / 16.27 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.938/2.938, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 9.094 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06689/0.3403, allocations: 73.45 MB / 1.13 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.3558, allocations: 12.67 MB / 1.143 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.3578, allocations: 55.62 kB / 1.143 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.3596, allocations: 0.6721 MB / 1.144 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.365, allocations: 2.267 MB / 1.146 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.3679, allocations: 1.281 MB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005576/0.3735, allocations: 5.538 MB / 1.152 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.3752, allocations: 1.151 MB / 1.154 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.3776, allocations: 1.318 MB / 1.155 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.3793, allocations: 1.139 MB / 1.156 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.3796, allocations: 56 kB / 1.156 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3819, allocations: 1.232 MB / 1.157 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.3822, allocations: 286.6 kB / 1.158 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007536/0.383, allocations: 0.8022 MB / 1.158 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.3854, allocations: 2.714 MB / 1.161 GB, free: 11.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3854, allocations: 0 / 1.161 GB, free: 11.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3855, allocations: 4 kB / 1.161 GB, free: 11.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.3855, allocations: 0 / 1.161 GB, free: 11.91 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.002827/0.3883, allocations: 1.78 MB / 1.163 GB, free: 10.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3883, allocations: 11.97 kB / 1.163 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.3885, allocations: 152.1 kB / 1.163 GB, free: 9.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/0.3893, allocations: 242.8 kB / 1.163 GB, free: 9.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.3913, allocations: 1.481 MB / 1.165 GB, free: 8.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.3913, allocations: 74 kB / 1.165 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.3915, allocations: 107.9 kB / 1.165 GB, free: 7.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.3933, allocations: 1.124 MB / 1.166 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3933, allocations: 0 / 1.166 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.3934, allocations: 40 kB / 1.166 GB, free: 6.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.3935, allocations: 32 kB / 1.166 GB, free: 6.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3953, allocations: 0.9212 MB / 1.167 GB, free: 5.793 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.005158/0.4004, allocations: 4.915 MB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.4018, allocations: 0.6479 MB / 1.172 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.4025, allocations: 366.3 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.403, allocations: 0.8238 MB / 1.173 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4031, allocations: 51.11 kB / 1.173 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/0.4031, allocations: 0 / 1.173 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007127/0.4102, allocations: 1.888 MB / 1.175 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4103, allocations: 59.97 kB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.4117, allocations: 1.202 MB / 1.176 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.4117, allocations: 41.7 kB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.4122, allocations: 0.6104 MB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.4124, allocations: 212.9 kB / 1.177 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.4124, allocations: 65.67 kB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4126, allocations: 334 kB / 1.178 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.4132, allocations: 301.8 kB / 1.178 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.414, allocations: 0.4998 MB / 1.178 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4154, allocations: 0.7558 MB / 1.179 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4154, allocations: 3.938 kB / 1.179 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004663/0.4201, allocations: 1.398 MB / 1.181 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.4202, allocations: 211.8 kB / 1.181 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4203, allocations: 4 kB / 1.181 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.4208, allocations: 140.7 kB / 1.181 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.4214, allocations: 167.8 kB / 1.181 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00078/0.4222, allocations: 0.7161 MB / 1.182 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.4232, allocations: 167 kB / 1.182 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.4232, allocations: 31.98 kB / 1.182 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.4233, allocations: 4 kB / 1.182 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004399/0.4277, allocations: 1.253 MB / 1.183 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4277, allocations: 7.938 kB / 1.183 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.4281, allocations: 137.1 kB / 1.183 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.4287, allocations: 171.9 kB / 1.183 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007327/0.4295, allocations: 0.7122 MB / 1.184 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.4304, allocations: 156.9 kB / 1.184 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.4304, allocations: 31.98 kB / 1.184 GB, free: 2.938 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.0004664/0.4309, allocations: 416.9 kB / 1.185 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.4311, allocations: 138.3 kB / 1.185 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/0.4358, allocations: 1.392 MB / 1.186 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4358, allocations: 11.94 kB / 1.186 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4358, allocations: 0 / 1.186 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004263/0.4401, allocations: 1.232 MB / 1.187 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/0.4462, allocations: 2.75 MB / 1.19 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4462, allocations: 4 kB / 1.19 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.4467, allocations: 123.8 kB / 1.19 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.4471, allocations: 137 kB / 1.19 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.4472, allocations: 23.98 kB / 1.19 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.4518, allocations: 2.435 MB / 1.193 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4518, allocations: 15.92 kB / 1.193 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.457, allocations: 1.859 MB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.4574, allocations: 331.1 kB / 1.195 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4575, allocations: 16 kB / 1.195 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.4584, allocations: 99.81 kB / 1.195 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4585, allocations: 60.23 kB / 1.195 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.4585, allocations: 27.98 kB / 1.195 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00103/0.4596, allocations: 0.8738 MB / 1.196 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4596, allocations: 0 / 1.196 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001522/0.4611, allocations: 0.7057 MB / 1.197 GB, free: 5.895 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.006/0.4671, allocations: 2.733 MB / 1.199 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.4694, allocations: 1.168 MB / 1.201 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4695, allocations: 0 / 1.201 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.4709, allocations: 0.5955 MB / 1.201 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.4746, allocations: 0.7931 MB / 1.202 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/0.4964, allocations: 11.18 MB / 1.213 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.4971, allocations: 1.173 MB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009836/0.4981, allocations: 307 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.4987, allocations: 0.511 MB / 1.215 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.4987, allocations: 0 / 1.215 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9273/1.426, allocations: 42.32 MB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/1.426, allocations: 272.8 kB / 1.256 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/4.394, allocations: 0 / 1.256 GB, free: 180.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)