Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.025/3.025, allocations: 287.5 MB / 302.4 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002041/0.00204, allocations: 174 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.0009349, allocations: 81.98 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007305/0.0007307, allocations: 14.94 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2975, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.09626/0.3938, allocations: 69.43 MB / 1.046 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.4221, allocations: 14.08 MB / 1.06 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.4246, allocations: 55.62 kB / 1.06 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.4274, allocations: 0.5666 MB / 1.06 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008444/0.4359, allocations: 1.972 MB / 1.062 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/0.4407, allocations: 0.9896 MB / 1.063 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008895/0.4496, allocations: 4.775 MB / 1.068 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6354/1.085, allocations: 1.004 MB / 1.069 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/1.09, allocations: 1.279 MB / 1.07 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/1.093, allocations: 1.08 MB / 1.071 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006389/1.094, allocations: 55.94 kB / 1.071 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/1.099, allocations: 0.9258 MB / 1.072 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/1.1, allocations: 273.1 kB / 1.073 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.101, allocations: 355.7 kB / 1.073 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/1.107, allocations: 2.086 MB / 1.075 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.107, allocations: 1.312 kB / 1.075 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/1.107, allocations: 0 / 1.075 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.63e-05/1.107, allocations: 0 / 1.075 GB, free: 33.19 MB / 0.6823 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.007067/1.114, allocations: 1.798 MB / 1.077 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.114, allocations: 10.12 kB / 1.077 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/1.116, allocations: 250.6 kB / 1.077 GB, free: 32.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/1.121, allocations: 1.435 MB / 1.078 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.121, allocations: 76.03 kB / 1.078 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/1.122, allocations: 105.1 kB / 1.079 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004883/1.127, allocations: 1.113 MB / 1.08 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/1.127, allocations: 1.062 kB / 1.08 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.127, allocations: 39.5 kB / 1.08 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/1.127, allocations: 28.73 kB / 1.08 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/1.132, allocations: 0.9253 MB / 1.081 GB, free: 31.62 MB / 0.6823 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.01076/1.143, allocations: 4.911 MB / 1.085 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/1.145, allocations: 0.6396 MB / 1.086 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/1.147, allocations: 364.1 kB / 1.086 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/1.147, allocations: 0.8335 MB / 1.087 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.147, allocations: 39.45 kB / 1.087 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.747e-06/1.147, allocations: 3.984 kB / 1.087 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01369/1.161, allocations: 1.888 MB / 1.089 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.161, allocations: 61.45 kB / 1.089 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/1.164, allocations: 1.203 MB / 1.09 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/1.164, allocations: 41.55 kB / 1.09 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/1.165, allocations: 0.6058 MB / 1.091 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/1.165, allocations: 217.6 kB / 1.091 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/1.165, allocations: 13.78 kB / 1.091 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/1.165, allocations: 334.2 kB / 1.091 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/1.167, allocations: 294 kB / 1.092 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/1.168, allocations: 0.5052 MB / 1.092 GB, free: 27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.169, allocations: 361.5 kB / 1.093 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.169, allocations: 4.75 kB / 1.093 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008845/1.178, allocations: 1.393 MB / 1.094 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/1.179, allocations: 202 kB / 1.094 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.179, allocations: 3.719 kB / 1.094 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/1.18, allocations: 157.6 kB / 1.094 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.181, allocations: 163.4 kB / 1.094 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.182, allocations: 0.7179 MB / 1.095 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/1.185, allocations: 172.3 kB / 1.095 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.185, allocations: 32.97 kB / 1.095 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.185, allocations: 4.344 kB / 1.095 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008317/1.193, allocations: 1.245 MB / 1.097 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.193, allocations: 3.688 kB / 1.097 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009004/1.194, allocations: 151.6 kB / 1.097 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.196, allocations: 161.6 kB / 1.097 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/1.197, allocations: 0.7227 MB / 1.098 GB, free: 25.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.199, allocations: 164.6 kB / 1.098 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.199, allocations: 32.22 kB / 1.098 GB, free: 25.38 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001109/1.201, allocations: 416.2 kB / 1.098 GB, free: 25.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/1.201, allocations: 138.8 kB / 1.098 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008343/1.209, allocations: 1.399 MB / 1.1 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/1.209, allocations: 8.188 kB / 1.1 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.21, allocations: 0 / 1.1 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007751/1.217, allocations: 1.234 MB / 1.101 GB, free: 24.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.229, allocations: 2.728 MB / 1.104 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.229, allocations: 10.31 kB / 1.104 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/1.23, allocations: 116.9 kB / 1.104 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/1.231, allocations: 141.9 kB / 1.104 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/1.231, allocations: 25.62 kB / 1.104 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007576/1.239, allocations: 2.484 MB / 1.106 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.239, allocations: 6.219 kB / 1.106 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00967/1.249, allocations: 1.848 MB / 1.108 GB, free: 22.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.25, allocations: 335.5 kB / 1.108 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/1.25, allocations: 17 kB / 1.108 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.252, allocations: 91.34 kB / 1.108 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.252, allocations: 61.55 kB / 1.109 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.252, allocations: 37.92 kB / 1.109 GB, free: 22.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001954/1.254, allocations: 0.8553 MB / 1.109 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.92e-07/1.254, allocations: 0 / 1.109 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003558/1.258, allocations: 0.7093 MB / 1.11 GB, free: 21.97 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/1.259, allocations: 423.2 kB / 1.11 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00503/1.265, allocations: 1.164 MB / 1.112 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.265, allocations: 0 / 1.112 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/1.267, allocations: 0.6062 MB / 1.112 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007034/1.274, allocations: 0.7637 MB / 1.113 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/1.281, allocations: 2.763 MB / 1.116 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/1.282, allocations: 1.177 MB / 1.117 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002411/1.284, allocations: 306.3 kB / 1.117 GB, free: 19.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.285, allocations: 110.6 kB / 1.117 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/1.285, allocations: 0 / 1.117 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.07282/1.358, allocations: 29.66 MB / 1.146 GB, free: 3.23 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)