Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_latest_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_latest_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.001493/0.001493, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001528/0.001529, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 469.4 MB / 0.7423 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 70.86 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3414, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.6659/1.007, allocations: 74.76 MB / 1.137 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02069/1.028, allocations: 12.69 MB / 1.149 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/1.032, allocations: 64.91 kB / 1.149 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003092/1.035, allocations: 0.7208 MB / 1.15 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008996/1.045, allocations: 2.305 MB / 1.152 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004616/1.049, allocations: 1.293 MB / 1.153 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008236/1.057, allocations: 4.454 MB / 1.158 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/1.061, allocations: 1.447 MB / 1.159 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006144/1.067, allocations: 1.632 MB / 1.161 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/1.07, allocations: 1.255 MB / 1.162 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007809/1.071, allocations: 162.8 kB / 1.162 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005376/1.076, allocations: 1.421 MB / 1.164 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/1.078, allocations: 404.9 kB / 1.164 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003027/1.081, allocations: 0.9235 MB / 1.165 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00495/1.086, allocations: 2.259 MB / 1.167 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.086, allocations: 0 / 1.167 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.518e-06/1.086, allocations: 0 / 1.167 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.159e-05/1.086, allocations: 5.312 kB / 1.167 GB, free: 5.16 MB / 0.8887 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.005267/1.091, allocations: 2.107 MB / 1.169 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.091, allocations: 13.66 kB / 1.169 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/1.092, allocations: 235.8 kB / 1.169 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/1.095, allocations: 1.509 MB / 1.171 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/1.095, allocations: 76.75 kB / 1.171 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.096, allocations: 101.2 kB / 1.171 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/1.098, allocations: 1.101 MB / 1.172 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/1.098, allocations: 1.156 kB / 1.172 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.994e-05/1.098, allocations: 40.86 kB / 1.172 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/1.098, allocations: 28.44 kB / 1.172 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/1.1, allocations: 0.8932 MB / 1.173 GB, free: 1.008 MB / 0.8887 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.008028/1.108, allocations: 4.931 MB / 1.178 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.11, allocations: 0.6057 MB / 1.178 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/1.111, allocations: 346 kB / 1.179 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007568/1.111, allocations: 0.8237 MB / 1.18 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.111, allocations: 42.53 kB / 1.18 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 4.559e-06/1.111, allocations: 4 kB / 1.18 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.007824/1.119, allocations: 1.718 MB / 1.181 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.119, allocations: 58.69 kB / 1.181 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.122, allocations: 1.237 MB / 1.183 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/1.122, allocations: 48.02 kB / 1.183 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/1.123, allocations: 0.6053 MB / 1.183 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/1.123, allocations: 215.4 kB / 1.183 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.123, allocations: 151.8 kB / 1.184 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.123, allocations: 336.8 kB / 1.184 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/1.124, allocations: 284.5 kB / 1.184 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/1.125, allocations: 499.7 kB / 1.185 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/1.126, allocations: 0.7046 MB / 1.185 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/1.126, allocations: 3.938 kB / 1.185 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00506/1.131, allocations: 1.271 MB / 1.187 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.131, allocations: 6.438 kB / 1.187 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.131, allocations: 4.281 kB / 1.187 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000728/1.132, allocations: 151.2 kB / 1.187 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/1.133, allocations: 157.5 kB / 1.187 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008605/1.134, allocations: 0.7113 MB / 1.188 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.135, allocations: 158.4 kB / 1.188 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.135, allocations: 31.17 kB / 1.188 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00124/1.137, allocations: 0.5537 MB / 1.188 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008395/1.138, allocations: 492.5 kB / 1.189 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001375/1.139, allocations: 0.698 MB / 1.189 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/1.139, allocations: 1.312 kB / 1.189 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004756/1.144, allocations: 1.269 MB / 1.191 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.144, allocations: 6.344 kB / 1.191 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.144, allocations: 8.469 kB / 1.191 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/1.144, allocations: 147 kB / 1.191 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.145, allocations: 156.5 kB / 1.191 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/1.146, allocations: 0.7038 MB / 1.192 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.147, allocations: 141.4 kB / 1.192 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.148, allocations: 30.81 kB / 1.192 GB, free: 3.328 MB / 0.9044 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.0003417/1.148, allocations: 231.9 kB / 1.192 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/1.148, allocations: 136.7 kB / 1.192 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/1.153, allocations: 1.263 MB / 1.193 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.153, allocations: 9.109 kB / 1.193 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.153, allocations: 2.469 kB / 1.193 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003891/1.157, allocations: 1.091 MB / 1.194 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007675/1.165, allocations: 2.585 MB / 1.197 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.165, allocations: 3.719 kB / 1.197 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/1.165, allocations: 109.5 kB / 1.197 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005767/1.166, allocations: 143.9 kB / 1.197 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/1.166, allocations: 19.86 kB / 1.197 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004956/1.171, allocations: 2.633 MB / 1.2 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.171, allocations: 4 kB / 1.2 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/1.176, allocations: 1.692 MB / 1.201 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/1.177, allocations: 311.1 kB / 1.202 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/1.178, allocations: 16 kB / 1.202 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.179, allocations: 87.91 kB / 1.202 GB, free: 10.97 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.18, allocations: 64.23 kB / 1.202 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/1.18, allocations: 31.98 kB / 1.202 GB, free: 10.88 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001764/1.181, allocations: 0.8864 MB / 1.203 GB, free: 9.992 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/1.181, allocations: 0 / 1.203 GB, free: 9.992 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003283/1.185, allocations: 0.7173 MB / 1.204 GB, free: 9.273 MB / 0.92 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.001332/1.186, allocations: 480.9 kB / 1.204 GB, free: 8.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003018/1.189, allocations: 1.149 MB / 1.205 GB, free: 7.66 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.189, allocations: 0 / 1.205 GB, free: 7.66 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/1.191, allocations: 0.5527 MB / 1.206 GB, free: 7.098 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.195, allocations: 0.8103 MB / 1.206 GB, free: 6.316 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/1.2, allocations: 2.841 MB / 1.209 GB, free: 3.398 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009218/1.201, allocations: 1.176 MB / 1.21 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/1.202, allocations: 119.4 kB / 1.21 GB, free: 2.074 MB / 0.92 GB Notification: Performance of SimCode: time 1.232e-06/1.202, allocations: 0 / 1.21 GB, free: 2.074 MB / 0.92 GB Notification: Performance of Templates: time 0.04658/1.248, allocations: 31.93 MB / 1.242 GB, free: 2.367 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)