Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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 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.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, 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.001911/0.001911, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.383/1.383, 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.789/2.789, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.05 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3396, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.07186/0.4115, allocations: 75.41 MB / 1.142 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.4317, allocations: 12.82 MB / 1.154 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003468/0.4352, allocations: 67.62 kB / 1.154 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.4383, allocations: 0.8306 MB / 1.155 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008277/0.4467, allocations: 2.479 MB / 1.158 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.451, allocations: 1.383 MB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.4581, allocations: 4.411 MB / 1.163 GB, free: 8.684 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.4614, allocations: 1.457 MB / 1.165 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.4664, allocations: 1.624 MB / 1.166 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.4693, allocations: 1.198 MB / 1.167 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007654/0.4701, allocations: 164 kB / 1.168 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004846/0.475, allocations: 1.408 MB / 1.169 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.476, allocations: 406.6 kB / 1.169 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00279/0.4789, allocations: 0.9137 MB / 1.17 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007589/0.4865, allocations: 2.867 MB / 1.173 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4865, allocations: 0 / 1.173 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4865, allocations: 4 kB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001208/0.4866, allocations: 0 / 1.173 GB, free: 14.59 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.006006/0.4927, allocations: 2.106 MB / 1.175 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4927, allocations: 8.031 kB / 1.175 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.4939, allocations: 226.8 kB / 1.175 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.4974, allocations: 1.478 MB / 1.177 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.4975, allocations: 77.98 kB / 1.177 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.4978, allocations: 104 kB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.5003, allocations: 1.108 MB / 1.178 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.5004, allocations: 0 / 1.178 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.5005, allocations: 40 kB / 1.178 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.5006, allocations: 24 kB / 1.178 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.5029, allocations: 0.8939 MB / 1.179 GB, free: 8.387 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.007941/0.5109, allocations: 4.974 MB / 1.184 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.5124, allocations: 0.6052 MB / 1.184 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/0.5132, allocations: 341.5 kB / 1.185 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/0.5139, allocations: 0.8238 MB / 1.186 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.5139, allocations: 43.12 kB / 1.186 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.126e-06/0.5139, allocations: 7.875 kB / 1.186 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008018/0.522, allocations: 1.713 MB / 1.187 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.522, allocations: 59.97 kB / 1.187 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.5245, allocations: 1.255 MB / 1.189 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5246, allocations: 41.7 kB / 1.189 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/0.5252, allocations: 0.6067 MB / 1.189 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.5255, allocations: 212.9 kB / 1.189 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.5258, allocations: 154.5 kB / 1.19 GB, free: 13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.526, allocations: 334 kB / 1.19 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/0.5267, allocations: 284.7 kB / 1.19 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.5276, allocations: 0.489 MB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.5292, allocations: 0.7089 MB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.5292, allocations: 4 kB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005177/0.5344, allocations: 1.269 MB / 1.193 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.5344, allocations: 8 kB / 1.193 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5345, allocations: 4 kB / 1.193 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.5352, allocations: 149.1 kB / 1.193 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.5358, allocations: 159.7 kB / 1.193 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009394/0.5367, allocations: 0.7084 MB / 1.194 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.5381, allocations: 127 kB / 1.194 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.5382, allocations: 35.98 kB / 1.194 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001285/0.5395, allocations: 0.5488 MB / 1.194 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009008/0.5404, allocations: 488.8 kB / 1.195 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00146/0.5419, allocations: 0.6973 MB / 1.195 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.414e-06/0.5419, allocations: 4 kB / 1.195 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005086/0.547, allocations: 1.265 MB / 1.197 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.547, allocations: 8.062 kB / 1.197 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5471, allocations: 4 kB / 1.197 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.5476, allocations: 144.7 kB / 1.197 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.5483, allocations: 163.7 kB / 1.197 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/0.5491, allocations: 0.7046 MB / 1.198 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.5504, allocations: 99.36 kB / 1.198 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.5505, allocations: 31.98 kB / 1.198 GB, free: 4.258 MB / 0.9512 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.5508, allocations: 233 kB / 1.198 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/0.5513, allocations: 134.4 kB / 1.198 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.5562, allocations: 1.259 MB / 1.199 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.5562, allocations: 4 kB / 1.199 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5562, allocations: 7.938 kB / 1.199 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004129/0.5604, allocations: 1.096 MB / 1.2 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007326/0.5677, allocations: 2.595 MB / 1.203 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5678, allocations: 7.938 kB / 1.203 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.5683, allocations: 111.8 kB / 1.203 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/0.5688, allocations: 153.1 kB / 1.203 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.5689, allocations: 16 kB / 1.203 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.5741, allocations: 2.634 MB / 1.206 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5741, allocations: 4 kB / 1.206 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/0.5798, allocations: 1.695 MB / 1.207 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/0.5806, allocations: 311.1 kB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.581, allocations: 16.06 kB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5821, allocations: 59.92 kB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.5822, allocations: 56.25 kB / 1.208 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.5823, allocations: 35.98 kB / 1.208 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001659/0.584, allocations: 0.9021 MB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.4e-07/0.584, allocations: 0 / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002534/0.5865, allocations: 0.7253 MB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.5877, allocations: 476.9 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002978/0.5907, allocations: 1.153 MB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5907, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.5922, allocations: 0.5525 MB / 1.212 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004219/0.5965, allocations: 0.8128 MB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.6013, allocations: 2.334 MB / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009602/0.6023, allocations: 1.198 MB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001451/0.6037, allocations: 302.2 kB / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6041, allocations: 115.3 kB / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of SimCode: time 7.92e-07/0.6041, allocations: 0 / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of Templates: time 0.5501/1.154, allocations: 33.35 MB / 1.249 GB, free: 176.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)