Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001196/0.001196, allocations: 199 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.34 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.071/0.3929, allocations: 75.2 MB / 1.142 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.4116, allocations: 12.75 MB / 1.154 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.4144, allocations: 71.62 kB / 1.154 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.4166, allocations: 0.8229 MB / 1.155 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006461/0.4231, allocations: 2.472 MB / 1.157 GB, free: 14.81 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.4265, allocations: 1.377 MB / 1.159 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005468/0.432, allocations: 4.378 MB / 1.163 GB, free: 9.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.4344, allocations: 1.445 MB / 1.164 GB, free: 7.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.4383, allocations: 1.606 MB / 1.166 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.4404, allocations: 1.202 MB / 1.167 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004944/0.4409, allocations: 160 kB / 1.167 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.4449, allocations: 1.419 MB / 1.169 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007382/0.4456, allocations: 398.6 kB / 1.169 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.4474, allocations: 0.9061 MB / 1.17 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005068/0.4524, allocations: 2.84 MB / 1.173 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4525, allocations: 4 kB / 1.173 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4525, allocations: 0 / 1.173 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.825e-05/0.4526, allocations: 0 / 1.173 GB, free: 15.04 MB / 0.9356 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.004785/0.4574, allocations: 2.087 MB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4574, allocations: 8.031 kB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.4584, allocations: 230.8 kB / 1.175 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.4611, allocations: 1.45 MB / 1.176 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.4612, allocations: 78 kB / 1.176 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.4614, allocations: 104 kB / 1.177 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.4636, allocations: 1.1 MB / 1.178 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.4636, allocations: 4 kB / 1.178 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4637, allocations: 40 kB / 1.178 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.4638, allocations: 31.92 kB / 1.178 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4658, allocations: 0.8861 MB / 1.179 GB, free: 8.875 MB / 0.9356 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.006219/0.472, allocations: 4.95 MB / 1.183 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.4734, allocations: 0.6206 MB / 1.184 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/0.4741, allocations: 355.3 kB / 1.184 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.4748, allocations: 0.8355 MB / 1.185 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.4748, allocations: 43.06 kB / 1.185 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.384e-06/0.4749, allocations: 0 / 1.185 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.007454/0.4823, allocations: 1.693 MB / 1.187 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4824, allocations: 55.97 kB / 1.187 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.4843, allocations: 1.225 MB / 1.188 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/0.4845, allocations: 41.7 kB / 1.188 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/0.485, allocations: 0.5988 MB / 1.189 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.4853, allocations: 224.8 kB / 1.189 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.4855, allocations: 150.6 kB / 1.189 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4857, allocations: 334 kB / 1.189 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.4864, allocations: 296.7 kB / 1.19 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009016/0.4873, allocations: 490.8 kB / 1.19 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.4888, allocations: 0.7043 MB / 1.191 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4889, allocations: 0 / 1.191 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005022/0.4939, allocations: 1.289 MB / 1.192 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4939, allocations: 8 kB / 1.192 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.494, allocations: 4 kB / 1.192 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.4947, allocations: 160.7 kB / 1.192 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.4953, allocations: 155.8 kB / 1.192 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/0.4962, allocations: 0.7123 MB / 1.193 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4974, allocations: 132.9 kB / 1.193 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.4975, allocations: 35.97 kB / 1.193 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.4986, allocations: 0.5565 MB / 1.194 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000845/0.4995, allocations: 487 kB / 1.194 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001467/0.5009, allocations: 0.7003 MB / 1.195 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.501, allocations: 4 kB / 1.195 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004921/0.5059, allocations: 1.269 MB / 1.196 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5059, allocations: 12.03 kB / 1.196 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5059, allocations: 4 kB / 1.196 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.5066, allocations: 152.7 kB / 1.196 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.5072, allocations: 155.8 kB / 1.197 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008617/0.5081, allocations: 0.72 MB / 1.197 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5093, allocations: 99.52 kB / 1.197 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.5093, allocations: 35.98 kB / 1.197 GB, free: 4.734 MB / 0.9512 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.0002771/0.5096, allocations: 216.8 kB / 1.198 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.51, allocations: 134.3 kB / 1.198 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/0.5149, allocations: 1.287 MB / 1.199 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.5149, allocations: 11.98 kB / 1.199 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5149, allocations: 0 / 1.199 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004312/0.5193, allocations: 1.103 MB / 1.2 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/0.5265, allocations: 2.637 MB / 1.203 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5265, allocations: 8.094 kB / 1.203 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/0.527, allocations: 111.8 kB / 1.203 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/0.5276, allocations: 148.9 kB / 1.203 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.5277, allocations: 23.98 kB / 1.203 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000829/0.5285, allocations: 0.7122 MB / 1.204 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5285, allocations: 4 kB / 1.204 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005504/0.534, allocations: 1.711 MB / 1.205 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.5347, allocations: 315.1 kB / 1.206 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.535, allocations: 20.06 kB / 1.206 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009461/0.536, allocations: 51.94 kB / 1.206 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5361, allocations: 60.25 kB / 1.206 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/0.5362, allocations: 35.97 kB / 1.206 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001495/0.5377, allocations: 0.8816 MB / 1.207 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5377, allocations: 0 / 1.207 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002069/0.5398, allocations: 0.7057 MB / 1.207 GB, free: 10.28 MB / 0.9669 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.0009967/0.5408, allocations: 460.4 kB / 1.208 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.5438, allocations: 1.164 MB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5438, allocations: 0 / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009358/0.5448, allocations: 403.4 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/0.5486, allocations: 0.8057 MB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.5527, allocations: 2.288 MB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/0.5536, allocations: 1.176 MB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001352/0.555, allocations: 307 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.5552, allocations: 103.4 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of SimCode: time 7.92e-07/0.5552, allocations: 0 / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.053/0.6083, allocations: 32 MB / 1.245 GB, free: 3.898 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)