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 2.898/2.898, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.00151/0.00151, allocations: 182.3 kB / 370.8 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.284/2.284, allocations: 205.4 MB / 0.6295 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.001077/0.001077, allocations: 92.75 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006684/0.0006686, allocations: 16.2 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2576, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1016/0.3592, allocations: 62.98 MB / 1.04 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02878/0.3881, allocations: 12.88 MB / 1.052 GB, free: 356 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.3909, allocations: 51.62 kB / 1.052 GB, free: 304 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.3949, allocations: 0.7423 MB / 1.053 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.4065, allocations: 2.359 MB / 1.055 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007902/0.4145, allocations: 1.525 MB / 1.057 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007122/0.4216, allocations: 2.491 MB / 1.059 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.4245, allocations: 1.045 MB / 1.06 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/0.4287, allocations: 1.156 MB / 1.061 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.4313, allocations: 0.7895 MB / 1.062 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.4319, allocations: 56 kB / 1.062 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.4361, allocations: 0.8425 MB / 1.063 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.4369, allocations: 262.9 kB / 1.063 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008807/0.4378, allocations: 356.9 kB / 1.064 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.4427, allocations: 2.015 MB / 1.066 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4427, allocations: 0 / 1.066 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.721e-06/0.4427, allocations: 0 / 1.066 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.549e-05/0.4428, allocations: 7.938 kB / 1.066 GB, free: 2.633 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.005661/0.4485, allocations: 1.781 MB / 1.067 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4485, allocations: 12.03 kB / 1.067 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.4499, allocations: 237.8 kB / 1.068 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6127/1.063, allocations: 1.367 MB / 1.069 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.063, allocations: 76.47 kB / 1.069 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/1.063, allocations: 103.1 kB / 1.069 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/1.067, allocations: 1.105 MB / 1.07 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/1.067, allocations: 1.609 kB / 1.07 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.067, allocations: 40.47 kB / 1.07 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-05/1.067, allocations: 26.23 kB / 1.07 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/1.071, allocations: 0.9286 MB / 1.071 GB, free: 90.47 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.009994/1.081, allocations: 4.967 MB / 1.076 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/1.083, allocations: 0.6345 MB / 1.077 GB, free: 86.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/1.084, allocations: 0.8269 MB / 1.077 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.084, allocations: 39.27 kB / 1.077 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.446e-06/1.084, allocations: 2.938 kB / 1.077 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01371/1.098, allocations: 1.882 MB / 1.079 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.098, allocations: 63.33 kB / 1.079 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/1.101, allocations: 1.248 MB / 1.081 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/1.101, allocations: 43.92 kB / 1.081 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/1.102, allocations: 0.5994 MB / 1.081 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/1.102, allocations: 219.1 kB / 1.081 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/1.102, allocations: 14.78 kB / 1.081 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/1.103, allocations: 333.8 kB / 1.082 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.104, allocations: 296.8 kB / 1.082 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.105, allocations: 0.5098 MB / 1.083 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/1.107, allocations: 356.6 kB / 1.083 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.107, allocations: 1.438 kB / 1.083 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008966/1.116, allocations: 1.398 MB / 1.084 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003196/1.116, allocations: 1.427 MB / 1.086 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.116, allocations: 8.062 kB / 1.086 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009992/1.117, allocations: 144.9 kB / 1.086 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.118, allocations: 166.3 kB / 1.086 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.12, allocations: 0.7111 MB / 1.087 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/1.122, allocations: 179.2 kB / 1.087 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.122, allocations: 31.08 kB / 1.087 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.122, allocations: 3.656 kB / 1.087 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008485/1.131, allocations: 1.252 MB / 1.088 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.131, allocations: 5.453 kB / 1.088 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008985/1.132, allocations: 147.3 kB / 1.088 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.133, allocations: 168.2 kB / 1.088 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/1.135, allocations: 0.7151 MB / 1.089 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.137, allocations: 168.9 kB / 1.089 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/1.137, allocations: 28.91 kB / 1.089 GB, free: 79.69 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.001085/1.138, allocations: 421.5 kB / 1.09 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/1.139, allocations: 132 kB / 1.09 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008719/1.147, allocations: 1.405 MB / 1.091 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.147, allocations: 6.688 kB / 1.091 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.147, allocations: 3.156 kB / 1.091 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007971/1.155, allocations: 1.227 MB / 1.092 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.167, allocations: 2.764 MB / 1.095 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.168, allocations: 2.938 kB / 1.095 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/1.169, allocations: 121.9 kB / 1.095 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008726/1.169, allocations: 149 kB / 1.095 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/1.17, allocations: 18.83 kB / 1.095 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008348/1.178, allocations: 2.558 MB / 1.098 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.178, allocations: 3.969 kB / 1.098 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009904/1.188, allocations: 2.055 MB / 1.1 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.189, allocations: 349.3 kB / 1.1 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/1.189, allocations: 19.56 kB / 1.1 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.191, allocations: 94.91 kB / 1.1 GB, free: 74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/1.191, allocations: 58.89 kB / 1.1 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.902e-05/1.191, allocations: 29.72 kB / 1.1 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001916/1.193, allocations: 0.8984 MB / 1.101 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.193, allocations: 0 / 1.101 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003296/1.197, allocations: 0.7247 MB / 1.102 GB, free: 73.48 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.001325/1.198, allocations: 455.3 kB / 1.102 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004463/1.202, allocations: 1.16 MB / 1.104 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.202, allocations: 1.094 kB / 1.104 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.205, allocations: 0.5976 MB / 1.104 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006191/1.211, allocations: 0.7547 MB / 1.105 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/1.217, allocations: 2.756 MB / 1.108 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00091/1.218, allocations: 1.199 MB / 1.109 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00222/1.22, allocations: 303.1 kB / 1.109 GB, free: 69.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/1.221, allocations: 111.3 kB / 1.109 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.243e-06/1.221, allocations: 0 / 1.109 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.07319/1.294, allocations: 30.31 MB / 1.139 GB, free: 46.25 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)