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.0009753/0.0009755, allocations: 91.84 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.006708/0.006708, allocations: 170 kB / 16.26 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 14.19 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3642, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07954/0.4438, allocations: 73.47 MB / 1.146 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.463, allocations: 12.69 MB / 1.158 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.4662, allocations: 55.62 kB / 1.158 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.4694, allocations: 0.6721 MB / 1.159 GB, free: 400 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008663/0.4781, allocations: 2.263 MB / 1.161 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.4821, allocations: 1.292 MB / 1.162 GB, free: 12.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007867/0.49, allocations: 5.539 MB / 1.168 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.4925, allocations: 1.151 MB / 1.169 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.4958, allocations: 1.314 MB / 1.17 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.498, allocations: 1.131 MB / 1.171 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.4983, allocations: 52 kB / 1.171 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.5014, allocations: 1.263 MB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004022/0.5018, allocations: 286.6 kB / 1.173 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.503, allocations: 0.8022 MB / 1.174 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.5076, allocations: 2.722 MB / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5077, allocations: 3.984 kB / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5077, allocations: 0 / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.179e-05/0.5077, allocations: 0 / 1.176 GB, free: 14.5 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.00484/0.5126, allocations: 1.783 MB / 1.178 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.5127, allocations: 8.031 kB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.5137, allocations: 242.8 kB / 1.178 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.5165, allocations: 1.489 MB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.5166, allocations: 81.98 kB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.5169, allocations: 107.8 kB / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.5195, allocations: 1.124 MB / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.5195, allocations: 0 / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.5197, allocations: 36 kB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.5197, allocations: 28 kB / 1.181 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.5221, allocations: 0.9251 MB / 1.182 GB, free: 8.531 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.007887/0.53, allocations: 4.923 MB / 1.187 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.5319, allocations: 0.639 MB / 1.187 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.533, allocations: 376.3 kB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.5342, allocations: 0.8355 MB / 1.189 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.5342, allocations: 39.12 kB / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 4.899e-06/0.5342, allocations: 0 / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.007951/0.5422, allocations: 1.896 MB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.5423, allocations: 63.97 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.5444, allocations: 1.21 MB / 1.192 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.5446, allocations: 41.7 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007446/0.5453, allocations: 0.6025 MB / 1.192 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.5456, allocations: 216.8 kB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.5459, allocations: 61.69 kB / 1.193 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.546, allocations: 337.9 kB / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.5468, allocations: 305.8 kB / 1.193 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009269/0.5477, allocations: 0.5067 MB / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.5495, allocations: 0.7433 MB / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5496, allocations: 8 kB / 1.195 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00535/0.5549, allocations: 1.41 MB / 1.196 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.5551, allocations: 193.3 kB / 1.196 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.5552, allocations: 4 kB / 1.196 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/0.556, allocations: 164.7 kB / 1.196 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.5566, allocations: 167.8 kB / 1.196 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.5578, allocations: 0.7356 MB / 1.197 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.5596, allocations: 163 kB / 1.197 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/0.5597, allocations: 39.98 kB / 1.197 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5597, allocations: 4 kB / 1.197 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005039/0.5648, allocations: 1.257 MB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5648, allocations: 4 kB / 1.199 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.5655, allocations: 169.1 kB / 1.199 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.5661, allocations: 167.7 kB / 1.199 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.567, allocations: 0.7279 MB / 1.2 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5683, allocations: 154.1 kB / 1.2 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.5684, allocations: 35.98 kB / 1.2 GB, free: 5.566 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.0007747/0.5692, allocations: 417.4 kB / 1.2 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.5694, allocations: 134.4 kB / 1.2 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.5745, allocations: 1.42 MB / 1.202 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5746, allocations: 7.938 kB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.5746, allocations: 0 / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004624/0.5792, allocations: 1.256 MB / 1.203 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007353/0.5866, allocations: 2.746 MB / 1.206 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5866, allocations: 4.438 kB / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.5871, allocations: 119.9 kB / 1.206 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/0.5878, allocations: 160.7 kB / 1.206 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.5878, allocations: 19.98 kB / 1.206 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008983/0.5887, allocations: 0.724 MB / 1.207 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5888, allocations: 7.938 kB / 1.207 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/0.5945, allocations: 1.852 MB / 1.208 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007782/0.5953, allocations: 339 kB / 1.209 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.5955, allocations: 15.94 kB / 1.209 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/0.5964, allocations: 91.91 kB / 1.209 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5965, allocations: 56.31 kB / 1.209 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5967, allocations: 31.97 kB / 1.209 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001282/0.598, allocations: 0.8699 MB / 1.21 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.598, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001934/0.5999, allocations: 0.7017 MB / 1.21 GB, free: 10.32 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.0009862/0.6009, allocations: 474.5 kB / 1.211 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002892/0.6038, allocations: 1.172 MB / 1.212 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6038, allocations: 7.938 kB / 1.212 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009752/0.6048, allocations: 411.3 kB / 1.212 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.004644/0.6095, allocations: 0.7908 MB / 1.213 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.6143, allocations: 2.805 MB / 1.216 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.6153, allocations: 1.18 MB / 1.217 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001493/0.6168, allocations: 303 kB / 1.217 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6171, allocations: 115.3 kB / 1.218 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of SimCode: time 9.81e-07/0.6171, allocations: 0 / 1.218 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of Templates: time 0.05888/0.676, allocations: 31.71 MB / 1.248 GB, free: 3.613 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)