Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.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.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009899, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00628/0.00628, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005554/0.0005553, allocations: 14.88 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3317, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness): time 0.07746/0.4092, allocations: 78.73 MB / 1.151 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02916/0.4384, allocations: 17.65 MB / 1.168 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007041/0.4455, allocations: 87.5 kB / 1.168 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.4491, allocations: 0.9324 MB / 1.169 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008505/0.4576, allocations: 2.512 MB / 1.172 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004791/0.4624, allocations: 1.594 MB / 1.173 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008961/0.4714, allocations: 6.693 MB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.475, allocations: 2.012 MB / 1.182 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/0.4788, allocations: 1.578 MB / 1.183 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.4811, allocations: 1.387 MB / 1.185 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.4813, allocations: 64 kB / 1.185 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.4855, allocations: 1.684 MB / 1.186 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.486, allocations: 390 kB / 1.187 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.4873, allocations: 1.101 MB / 1.188 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005794/0.4931, allocations: 4.411 MB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4931, allocations: 0 / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4932, allocations: 0 / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.585e-05/0.4932, allocations: 4 kB / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.0045/0.4977, allocations: 2.405 MB / 1.194 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4978, allocations: 12.03 kB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.4993, allocations: 428.6 kB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.5026, allocations: 1.943 MB / 1.197 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.5027, allocations: 139.2 kB / 1.197 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.5029, allocations: 171.9 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.5064, allocations: 1.826 MB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.5064, allocations: 4 kB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.5066, allocations: 68 kB / 1.199 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/0.5067, allocations: 43.94 kB / 1.199 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.5096, allocations: 1.395 MB / 1.2 GB, free: 5.66 MB / 0.9512 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.009693/0.5193, allocations: 7.569 MB / 1.208 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.5213, allocations: 0.9694 MB / 1.209 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009077/0.5222, allocations: 445.8 kB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009457/0.5232, allocations: 1.148 MB / 1.21 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.5232, allocations: 47.11 kB / 1.21 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=63): time 3.096e-06/0.5232, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63): time 0.008057/0.5313, allocations: 2.087 MB / 1.212 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.5314, allocations: 107.4 kB / 1.212 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.5339, allocations: 1.686 MB / 1.214 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.534, allocations: 49.7 kB / 1.214 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/0.5349, allocations: 0.9783 MB / 1.215 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.5352, allocations: 220.8 kB / 1.215 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.5353, allocations: 89.66 kB / 1.215 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5354, allocations: 334 kB / 1.216 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008924/0.5363, allocations: 381.8 kB / 1.216 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5375, allocations: 0.6896 MB / 1.217 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.5394, allocations: 0.9995 MB / 1.218 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5394, allocations: 4 kB / 1.218 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005717/0.5451, allocations: 1.678 MB / 1.219 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.5454, allocations: 306.7 kB / 1.22 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5454, allocations: 8 kB / 1.22 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008571/0.5463, allocations: 196.6 kB / 1.22 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.547, allocations: 219.6 kB / 1.22 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.5528, allocations: 2.725 MB / 1.223 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5545, allocations: 219.3 kB / 1.223 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.5546, allocations: 43.98 kB / 1.223 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5547, allocations: 9.344 kB / 1.223 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005307/0.56, allocations: 1.48 MB / 1.224 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.56, allocations: 11.94 kB / 1.224 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/0.5608, allocations: 201.4 kB / 1.225 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.5615, allocations: 215.6 kB / 1.225 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.5671, allocations: 2.703 MB / 1.227 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.5688, allocations: 212.2 kB / 1.228 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5689, allocations: 43.98 kB / 1.228 GB, free: 8.211 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.57, allocations: 0.5242 MB / 1.228 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/0.5705, allocations: 181.8 kB / 1.228 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.5763, allocations: 1.614 MB / 1.23 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.5763, allocations: 7.984 kB / 1.23 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5763, allocations: 3.938 kB / 1.23 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00489/0.5812, allocations: 1.37 MB / 1.231 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008996/0.5902, allocations: 3.424 MB / 1.235 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.5903, allocations: 4 kB / 1.235 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.5909, allocations: 136.2 kB / 1.235 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.5916, allocations: 188.7 kB / 1.235 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.5917, allocations: 27.92 kB / 1.235 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/0.5973, allocations: 2.681 MB / 1.238 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5973, allocations: 4 kB / 1.238 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006628/0.604, allocations: 2.114 MB / 1.24 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009442/0.6049, allocations: 406.5 kB / 1.24 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/0.6054, allocations: 16 kB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6067, allocations: 127.7 kB / 1.24 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.6069, allocations: 64.28 kB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.607, allocations: 31.98 kB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002264/0.6093, allocations: 1.173 MB / 1.241 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6093, allocations: 0 / 1.241 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003288/0.6126, allocations: 0.9968 MB / 1.242 GB, free: 8.727 MB / 0.9981 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: 2 (heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 2 (heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.6138, allocations: 0.5427 MB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003982/0.6178, allocations: 1.741 MB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.6178, allocations: 0.875 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.6191, allocations: 0.6149 MB / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/0.6245, allocations: 0.884 MB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.6314, allocations: 4.144 MB / 1.25 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5608/1.192, allocations: 1.417 MB / 1.252 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001952/1.194, allocations: 383.2 kB / 1.252 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/1.195, allocations: 137.2 kB / 1.252 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.195, allocations: 0 / 1.252 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.07303/1.268, allocations: 40.25 MB / 1.291 GB, free: 155.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe 2>&1)