Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_10_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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001516/0.001516, allocations: 198.7 kB / 16.14 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4974, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05973/0.5572, allocations: 74.72 MB / 1.09 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.5715, allocations: 12.82 MB / 1.102 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.5727, allocations: 63.62 kB / 1.102 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.5742, allocations: 0.6798 MB / 1.103 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.5781, allocations: 2.267 MB / 1.105 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.5804, allocations: 1.268 MB / 1.106 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.5847, allocations: 5.553 MB / 1.112 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.5859, allocations: 1.175 MB / 1.113 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.5876, allocations: 1.353 MB / 1.114 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.5887, allocations: 1.182 MB / 1.115 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.5889, allocations: 72 kB / 1.115 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.5909, allocations: 1.255 MB / 1.117 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.5912, allocations: 322.6 kB / 1.117 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006541/0.5918, allocations: 0.8045 MB / 1.118 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.5942, allocations: 2.781 MB / 1.121 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5943, allocations: 0 / 1.121 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.22e-07/0.5943, allocations: 0 / 1.121 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5943, allocations: 0 / 1.121 GB, free: 8.094 MB / 0.8731 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.003106/0.5974, allocations: 2.087 MB / 1.123 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5974, allocations: 12.03 kB / 1.123 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.5976, allocations: 152.1 kB / 1.123 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007041/0.5983, allocations: 230.8 kB / 1.123 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.6003, allocations: 1.485 MB / 1.124 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.6004, allocations: 82 kB / 1.124 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.6005, allocations: 100 kB / 1.125 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.6023, allocations: 1.096 MB / 1.126 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.6023, allocations: 0 / 1.126 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.6024, allocations: 47.98 kB / 1.126 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.6024, allocations: 27.94 kB / 1.126 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.6042, allocations: 0.8861 MB / 1.127 GB, free: 1.734 MB / 0.8731 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.004818/0.609, allocations: 4.896 MB / 1.131 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.6103, allocations: 0.6275 MB / 1.132 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/0.6109, allocations: 346.3 kB / 1.132 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/0.6114, allocations: 0.8238 MB / 1.133 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.6115, allocations: 35.12 kB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 1.813e-06/0.6115, allocations: 8 kB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.006487/0.618, allocations: 1.681 MB / 1.135 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.618, allocations: 59.91 kB / 1.135 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.6193, allocations: 1.21 MB / 1.136 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.6194, allocations: 41.7 kB / 1.136 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.6198, allocations: 0.6065 MB / 1.137 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.62, allocations: 208.9 kB / 1.137 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.6202, allocations: 154.5 kB / 1.137 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.6203, allocations: 341.9 kB / 1.137 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.6209, allocations: 288.7 kB / 1.138 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.6217, allocations: 495.8 kB / 1.138 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.623, allocations: 0.7051 MB / 1.139 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.623, allocations: 3.938 kB / 1.139 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004296/0.6273, allocations: 1.269 MB / 1.14 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6273, allocations: 4 kB / 1.14 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6273, allocations: 8.312 kB / 1.14 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.6279, allocations: 140.7 kB / 1.14 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.6284, allocations: 159.8 kB / 1.14 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/0.6292, allocations: 0.6966 MB / 1.141 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/0.6301, allocations: 155 kB / 1.141 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.6302, allocations: 43.92 kB / 1.141 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009095/0.6311, allocations: 0.5487 MB / 1.142 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007351/0.6318, allocations: 491.9 kB / 1.142 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/0.6331, allocations: 0.6972 MB / 1.143 GB, free: 184 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.6331, allocations: 4 kB / 1.143 GB, free: 180 kB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004272/0.6374, allocations: 1.261 MB / 1.144 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.6374, allocations: 7.984 kB / 1.144 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6374, allocations: 4 kB / 1.144 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.6379, allocations: 141.1 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.6384, allocations: 159.8 kB / 1.144 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006675/0.6391, allocations: 0.6927 MB / 1.145 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.64, allocations: 131.5 kB / 1.145 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.6401, allocations: 31.98 kB / 1.145 GB, free: 13.71 MB / 0.9044 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.0001658/0.6403, allocations: 237.5 kB / 1.145 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.6405, allocations: 138.3 kB / 1.146 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.6447, allocations: 1.264 MB / 1.147 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6447, allocations: 12 kB / 1.147 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6447, allocations: 0 / 1.147 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003666/0.6484, allocations: 1.099 MB / 1.148 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/0.654, allocations: 2.602 MB / 1.15 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.654, allocations: 4 kB / 1.15 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.6545, allocations: 115.8 kB / 1.151 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.6549, allocations: 133.2 kB / 1.151 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.6549, allocations: 19.94 kB / 1.151 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.6591, allocations: 2.345 MB / 1.153 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6591, allocations: 7.938 kB / 1.153 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/0.6638, allocations: 1.699 MB / 1.155 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.6642, allocations: 307.2 kB / 1.155 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.6644, allocations: 16 kB / 1.155 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.6652, allocations: 83.81 kB / 1.155 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6653, allocations: 64.53 kB / 1.155 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.6653, allocations: 31.97 kB / 1.155 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001011/0.6664, allocations: 0.866 MB / 1.156 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6664, allocations: 3.938 kB / 1.156 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001533/0.6679, allocations: 0.7174 MB / 1.157 GB, free: 1.555 MB / 0.9044 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.005621/0.6735, allocations: 2.572 MB / 1.159 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.6758, allocations: 1.106 MB / 1.16 GB, free: 13.81 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6758, allocations: 4 kB / 1.16 GB, free: 13.8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.6771, allocations: 0.5564 MB / 1.161 GB, free: 13.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.68, allocations: 0.753 MB / 1.162 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.7011, allocations: 10.83 MB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.7017, allocations: 1.176 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001004/0.7028, allocations: 307 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.7034, allocations: 0.5031 MB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7034, allocations: 4 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/2.576, allocations: 40.31 MB / 1.213 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004428/2.577, allocations: 268.6 kB / 1.214 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/5.182, allocations: 0 / 1.214 GB, free: 6.98 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)