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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00166/0.00166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437.1 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5026, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06438/0.5671, allocations: 75.19 MB / 1.091 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.5817, allocations: 12.76 MB / 1.103 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.5829, allocations: 63.62 kB / 1.103 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.5844, allocations: 0.8345 MB / 1.104 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.5886, allocations: 2.465 MB / 1.107 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.591, allocations: 1.378 MB / 1.108 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.5944, allocations: 4.381 MB / 1.112 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.5958, allocations: 1.437 MB / 1.114 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.598, allocations: 1.604 MB / 1.115 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5991, allocations: 1.202 MB / 1.116 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.5994, allocations: 164 kB / 1.117 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.6015, allocations: 1.419 MB / 1.118 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.6018, allocations: 394.6 kB / 1.118 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.6025, allocations: 0.9022 MB / 1.119 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.605, allocations: 2.844 MB / 1.122 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6051, allocations: 3.938 kB / 1.122 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6051, allocations: 0 / 1.122 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.6051, allocations: 0 / 1.122 GB, free: 7.27 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.002919/0.608, allocations: 2.087 MB / 1.124 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6081, allocations: 12.02 kB / 1.124 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.6082, allocations: 144.1 kB / 1.124 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.6089, allocations: 230.8 kB / 1.124 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.6108, allocations: 1.458 MB / 1.126 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.6109, allocations: 74 kB / 1.126 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.611, allocations: 104 kB / 1.126 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.6127, allocations: 1.108 MB / 1.127 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6128, allocations: 4 kB / 1.127 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.6129, allocations: 40 kB / 1.127 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.6129, allocations: 28 kB / 1.127 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.6146, allocations: 0.89 MB / 1.128 GB, free: 0.9414 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.004836/0.6195, allocations: 4.939 MB / 1.133 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.6207, allocations: 0.6387 MB / 1.133 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.6214, allocations: 346.3 kB / 1.134 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/0.6219, allocations: 0.8316 MB / 1.135 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6219, allocations: 43.12 kB / 1.135 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.622, allocations: 0 / 1.135 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.00682/0.6288, allocations: 1.689 MB / 1.136 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.6288, allocations: 59.97 kB / 1.136 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6302, allocations: 1.225 MB / 1.137 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.6302, allocations: 41.7 kB / 1.138 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.6307, allocations: 0.6025 MB / 1.138 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.6308, allocations: 216.9 kB / 1.138 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.6311, allocations: 162.5 kB / 1.138 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.6312, allocations: 330 kB / 1.139 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.6318, allocations: 292.7 kB / 1.139 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.6326, allocations: 487 kB / 1.14 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6339, allocations: 0.7197 MB / 1.14 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6339, allocations: 0 / 1.14 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004442/0.6384, allocations: 1.281 MB / 1.141 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6384, allocations: 9.938 kB / 1.142 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6384, allocations: 4 kB / 1.142 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.639, allocations: 156.7 kB / 1.142 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.6396, allocations: 151.8 kB / 1.142 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/0.6404, allocations: 0.7201 MB / 1.143 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.6412, allocations: 116.5 kB / 1.143 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.6413, allocations: 35.98 kB / 1.143 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008974/0.6422, allocations: 0.5526 MB / 1.143 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007304/0.6429, allocations: 486.9 kB / 1.144 GB, free: 56 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/0.6442, allocations: 0.7121 MB / 1.144 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.6443, allocations: 0 / 1.144 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004369/0.6486, allocations: 1.261 MB / 1.146 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.6486, allocations: 4.375 kB / 1.146 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6487, allocations: 8 kB / 1.146 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.6492, allocations: 156.8 kB / 1.146 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.6497, allocations: 159.7 kB / 1.146 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007239/0.6505, allocations: 0.7161 MB / 1.147 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.6513, allocations: 107.4 kB / 1.147 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.6514, allocations: 32 kB / 1.147 GB, free: 12.81 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.0001635/0.6516, allocations: 231.9 kB / 1.147 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.6518, allocations: 138.3 kB / 1.147 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/0.6562, allocations: 1.275 MB / 1.148 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6562, allocations: 8 kB / 1.148 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6562, allocations: 0 / 1.148 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003971/0.6602, allocations: 1.115 MB / 1.149 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/0.666, allocations: 2.622 MB / 1.152 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.666, allocations: 4.438 kB / 1.152 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.6665, allocations: 119.8 kB / 1.152 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/0.667, allocations: 152.7 kB / 1.152 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.6671, allocations: 27.92 kB / 1.152 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007/0.6678, allocations: 0.7123 MB / 1.153 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6678, allocations: 4 kB / 1.153 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004822/0.6726, allocations: 1.703 MB / 1.155 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.673, allocations: 311.1 kB / 1.155 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.6732, allocations: 19.98 kB / 1.155 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/0.6739, allocations: 56 kB / 1.155 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.674, allocations: 52.25 kB / 1.155 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.6741, allocations: 31.98 kB / 1.155 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001018/0.6751, allocations: 0.8894 MB / 1.156 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6751, allocations: 0 / 1.156 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001465/0.6766, allocations: 0.7057 MB / 1.157 GB, free: 2.363 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.005846/0.6824, allocations: 2.605 MB / 1.159 GB, free: 15.69 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002451/0.6849, allocations: 1.156 MB / 1.16 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6849, allocations: 0 / 1.16 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.6857, allocations: 403.3 kB / 1.161 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.6888, allocations: 0.797 MB / 1.161 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.7065, allocations: 10.5 MB / 1.172 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.7071, allocations: 1.164 MB / 1.173 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009811/0.7081, allocations: 310.9 kB / 1.173 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.7087, allocations: 0.5226 MB / 1.174 GB, free: 352 kB / 0.92 GB Notification: Performance of SimCode: time 1.272e-06/0.7087, allocations: 0 / 1.174 GB, free: 352 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.262/3.971, allocations: 42.1 MB / 1.215 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/18.72, allocations: 7.922 kB / 1.215 GB, free: 6.766 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)