Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_10_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.0008402/0.0008403, allocations: 98.19 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.005192/0.005192, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.458/2.458, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5428, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06922/0.612, allocations: 73.47 MB / 1.095 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.6281, allocations: 12.69 MB / 1.107 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.6295, allocations: 55.62 kB / 1.107 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.6311, allocations: 0.6682 MB / 1.108 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.6359, allocations: 2.271 MB / 1.11 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.6385, allocations: 1.273 MB / 1.111 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005232/0.6438, allocations: 5.551 MB / 1.117 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.6452, allocations: 1.139 MB / 1.118 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.6471, allocations: 1.314 MB / 1.119 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.6484, allocations: 1.128 MB / 1.12 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.6485, allocations: 56 kB / 1.12 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.6508, allocations: 1.259 MB / 1.122 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.6511, allocations: 286.6 kB / 1.122 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007703/0.6519, allocations: 0.7983 MB / 1.123 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.6546, allocations: 2.737 MB / 1.125 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6546, allocations: 0 / 1.125 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6546, allocations: 0 / 1.125 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.6546, allocations: 4 kB / 1.125 GB, free: 6.828 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.003035/0.6576, allocations: 1.776 MB / 1.127 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6577, allocations: 12.02 kB / 1.127 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.6579, allocations: 148.1 kB / 1.127 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007368/0.6586, allocations: 242.8 kB / 1.127 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.6608, allocations: 1.509 MB / 1.129 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.6609, allocations: 81.98 kB / 1.129 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.661, allocations: 104 kB / 1.129 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.663, allocations: 1.12 MB / 1.13 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.663, allocations: 7.938 kB / 1.13 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.6631, allocations: 36 kB / 1.13 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.6631, allocations: 24 kB / 1.13 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.665, allocations: 0.929 MB / 1.131 GB, free: 0.6914 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.005384/0.6704, allocations: 4.915 MB / 1.136 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6718, allocations: 0.6581 MB / 1.137 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007517/0.6726, allocations: 370.3 kB / 1.137 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/0.6732, allocations: 0.8277 MB / 1.138 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6732, allocations: 39.12 kB / 1.138 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.014e-06/0.6733, allocations: 3.938 kB / 1.138 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.007594/0.6809, allocations: 1.9 MB / 1.14 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6809, allocations: 59.97 kB / 1.14 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.6824, allocations: 1.198 MB / 1.141 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.6824, allocations: 41.7 kB / 1.141 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.6829, allocations: 0.6026 MB / 1.142 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6831, allocations: 220.9 kB / 1.142 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.6832, allocations: 65.62 kB / 1.142 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6833, allocations: 334 kB / 1.142 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.684, allocations: 301.8 kB / 1.142 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008488/0.6849, allocations: 0.5029 MB / 1.143 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.6864, allocations: 0.7509 MB / 1.144 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6864, allocations: 0 / 1.144 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004907/0.6913, allocations: 1.414 MB / 1.145 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.6914, allocations: 193.1 kB / 1.145 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6914, allocations: 4 kB / 1.145 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/0.6921, allocations: 164.7 kB / 1.145 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.6927, allocations: 163.8 kB / 1.146 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008651/0.6936, allocations: 0.7356 MB / 1.146 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.6947, allocations: 163.1 kB / 1.146 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.6947, allocations: 35.98 kB / 1.146 GB, free: 296 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.6947, allocations: 4 kB / 1.146 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004671/0.6994, allocations: 1.253 MB / 1.148 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6994, allocations: 8.031 kB / 1.148 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.7, allocations: 164.8 kB / 1.148 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.7006, allocations: 167.8 kB / 1.148 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008212/0.7015, allocations: 0.7318 MB / 1.149 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/0.7024, allocations: 159.2 kB / 1.149 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.7025, allocations: 35.98 kB / 1.149 GB, free: 13.74 MB / 0.9044 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.0005137/0.703, allocations: 413.7 kB / 1.149 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.7032, allocations: 142.2 kB / 1.149 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.7082, allocations: 1.42 MB / 1.151 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.7082, allocations: 8 kB / 1.151 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7082, allocations: 0 / 1.151 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004494/0.7127, allocations: 1.248 MB / 1.152 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007359/0.7201, allocations: 2.762 MB / 1.155 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7201, allocations: 4 kB / 1.155 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.7206, allocations: 115.9 kB / 1.155 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006357/0.7212, allocations: 164.8 kB / 1.155 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.7213, allocations: 19.98 kB / 1.155 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/0.7222, allocations: 0.7202 MB / 1.156 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7222, allocations: 7.938 kB / 1.156 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005544/0.7277, allocations: 1.856 MB / 1.158 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.7283, allocations: 335 kB / 1.158 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.7285, allocations: 16 kB / 1.158 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/0.7294, allocations: 103.8 kB / 1.158 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.7295, allocations: 48.31 kB / 1.158 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.7296, allocations: 35.97 kB / 1.158 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001228/0.7309, allocations: 0.8699 MB / 1.159 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7309, allocations: 0 / 1.159 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001772/0.7326, allocations: 0.7018 MB / 1.16 GB, free: 2.48 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 (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.006651/0.7393, allocations: 2.745 MB / 1.162 GB, free: 15.67 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.742, allocations: 1.176 MB / 1.163 GB, free: 14.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.742, allocations: 0 / 1.163 GB, free: 14.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.7429, allocations: 407.3 kB / 1.164 GB, free: 14.1 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/0.7471, allocations: 0.8003 MB / 1.165 GB, free: 13.31 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/0.7722, allocations: 11.21 MB / 1.176 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.773, allocations: 1.172 MB / 1.177 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001243/0.7743, allocations: 306.9 kB / 1.177 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.775, allocations: 0.5227 MB / 1.177 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.775, allocations: 0 / 1.177 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6416/1.417, allocations: 42.27 MB / 1.219 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/1.417, allocations: 285.3 kB / 1.219 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.165, allocations: 0 / 1.219 GB, free: 5.469 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)