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.001369/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001599/0.001599, allocations: 193.5 kB / 16.14 MB, free: 6.656 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.06 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2739, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.06995/0.3439, allocations: 74.96 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.3617, allocations: 12.86 MB / 1.153 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.364, allocations: 63.62 kB / 1.153 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.3661, allocations: 0.6798 MB / 1.154 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.3723, allocations: 2.283 MB / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.3757, allocations: 1.27 MB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006842/0.3825, allocations: 5.581 MB / 1.163 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.3846, allocations: 1.214 MB / 1.164 GB, free: 7.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.3877, allocations: 1.357 MB / 1.165 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.3895, allocations: 1.19 MB / 1.167 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.3898, allocations: 76 kB / 1.167 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.3928, allocations: 1.259 MB / 1.168 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.3932, allocations: 314.6 kB / 1.168 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.3943, allocations: 0.8278 MB / 1.169 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.3979, allocations: 2.812 MB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3979, allocations: 0 / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.398, allocations: 7.938 kB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.398, allocations: 0 / 1.172 GB, free: 15.82 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.00372/0.4017, allocations: 2.103 MB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4018, allocations: 8.031 kB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.4026, allocations: 230.8 kB / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.4049, allocations: 1.517 MB / 1.176 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.405, allocations: 74 kB / 1.176 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.4051, allocations: 104 kB / 1.176 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.4071, allocations: 1.1 MB / 1.177 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4071, allocations: 7.938 kB / 1.177 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.4072, allocations: 40 kB / 1.177 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.4073, allocations: 24 kB / 1.177 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.4092, allocations: 0.89 MB / 1.178 GB, free: 9.574 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.006086/0.4153, allocations: 4.931 MB / 1.183 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.4167, allocations: 0.6042 MB / 1.183 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.4174, allocations: 336.2 kB / 1.183 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.4181, allocations: 0.8316 MB / 1.184 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4181, allocations: 39.12 kB / 1.184 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.005e-06/0.4181, allocations: 0 / 1.184 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007727/0.4259, allocations: 1.728 MB / 1.186 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.426, allocations: 55.97 kB / 1.186 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.4278, allocations: 1.243 MB / 1.187 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.4279, allocations: 37.7 kB / 1.187 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.4285, allocations: 0.6067 MB / 1.188 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.4287, allocations: 220.8 kB / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.4289, allocations: 150.6 kB / 1.188 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4291, allocations: 334 kB / 1.189 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/0.4298, allocations: 288.7 kB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.4307, allocations: 496.7 kB / 1.189 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.4321, allocations: 0.7128 MB / 1.19 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4321, allocations: 0 / 1.19 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004728/0.4368, allocations: 1.277 MB / 1.191 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4369, allocations: 4.375 kB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4369, allocations: 8 kB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.4375, allocations: 144.7 kB / 1.191 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.4382, allocations: 159.8 kB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008268/0.439, allocations: 0.7083 MB / 1.192 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4402, allocations: 155.1 kB / 1.192 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.4403, allocations: 35.98 kB / 1.192 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/0.4414, allocations: 0.5455 MB / 1.193 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008081/0.4422, allocations: 0.489 MB / 1.193 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001347/0.4436, allocations: 0.6973 MB / 1.194 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.4436, allocations: 0 / 1.194 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004723/0.4483, allocations: 1.257 MB / 1.195 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4484, allocations: 13.7 kB / 1.195 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4484, allocations: 4 kB / 1.195 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.4489, allocations: 144.9 kB / 1.195 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.4496, allocations: 171.6 kB / 1.196 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008726/0.4505, allocations: 0.6968 MB / 1.196 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.4519, allocations: 131.5 kB / 1.196 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.452, allocations: 39.92 kB / 1.196 GB, free: 5.418 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.0003035/0.4523, allocations: 232.5 kB / 1.197 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.4526, allocations: 138.3 kB / 1.197 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.4571, allocations: 1.251 MB / 1.198 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4571, allocations: 8 kB / 1.198 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4572, allocations: 4 kB / 1.198 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004023/0.4612, allocations: 1.099 MB / 1.199 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008005/0.4692, allocations: 2.579 MB / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.4693, allocations: 0 / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.4698, allocations: 115.8 kB / 1.202 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005438/0.4703, allocations: 145.2 kB / 1.202 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.4704, allocations: 23.98 kB / 1.202 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004705/0.4751, allocations: 2.38 MB / 1.204 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.4752, allocations: 8 kB / 1.204 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.4807, allocations: 1.676 MB / 1.206 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.4816, allocations: 323.1 kB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/0.482, allocations: 16 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.4831, allocations: 91.78 kB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.4833, allocations: 60.23 kB / 1.206 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.4834, allocations: 31.98 kB / 1.206 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001612/0.485, allocations: 0.8942 MB / 1.207 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/0.485, allocations: 0 / 1.207 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002425/0.4874, allocations: 0.7096 MB / 1.208 GB, free: 9.254 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.001096/0.4885, allocations: 484.5 kB / 1.208 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.4913, allocations: 1.098 MB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4913, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.493, allocations: 0.5608 MB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00539/0.4984, allocations: 0.7586 MB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.5045, allocations: 2.8 MB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.5056, allocations: 1.183 MB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001583/0.5072, allocations: 311.3 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.5076, allocations: 107.4 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.5076, allocations: 0 / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of Templates: time 0.05131/0.559, allocations: 31.54 MB / 1.246 GB, free: 2.73 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)