Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 288.4 MB / 303.7 MB, free: 8.824 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.0009459/0.0009458, allocations: 184.5 kB / 372.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 0.631 GB, free: 13.41 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007426/0.0007427, allocations: 86.81 kB / 0.7444 GB, free: 64.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 15.98 kB / 0.8675 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.4342/0.6526, allocations: 69.44 MB / 1.048 GB, free: 74.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.6693, allocations: 14.09 MB / 1.062 GB, free: 68.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.672, allocations: 54.53 kB / 1.062 GB, free: 68.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.6742, allocations: 0.5641 MB / 1.062 GB, free: 68.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.6809, allocations: 2.113 MB / 1.064 GB, free: 66.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.6846, allocations: 0.9934 MB / 1.065 GB, free: 66.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005573/0.6902, allocations: 4.82 MB / 1.07 GB, free: 64.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.6923, allocations: 1.142 MB / 1.071 GB, free: 64.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.6953, allocations: 1.307 MB / 1.072 GB, free: 63.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.6972, allocations: 1.084 MB / 1.073 GB, free: 63.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.6975, allocations: 60.73 kB / 1.074 GB, free: 63.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.7015, allocations: 1.179 MB / 1.075 GB, free: 62.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.7021, allocations: 271 kB / 1.075 GB, free: 62.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.7035, allocations: 0.7709 MB / 1.076 GB, free: 62.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.7065, allocations: 2.157 MB / 1.078 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7065, allocations: 0 / 1.078 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7065, allocations: 0 / 1.078 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.24e-05/0.7066, allocations: 0 / 1.078 GB, free: 61.54 MB / 0.7448 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.003552/0.7102, allocations: 1.791 MB / 1.08 GB, free: 60.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7102, allocations: 9.406 kB / 1.08 GB, free: 60.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.7111, allocations: 244.4 kB / 1.08 GB, free: 60.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.7137, allocations: 1.479 MB / 1.081 GB, free: 59.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.7138, allocations: 76.88 kB / 1.081 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7139, allocations: 105.8 kB / 1.081 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.7158, allocations: 1.115 MB / 1.083 GB, free: 58.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.7158, allocations: 3.938 kB / 1.083 GB, free: 58.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.7159, allocations: 41.52 kB / 1.083 GB, free: 58.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.7159, allocations: 29.72 kB / 1.083 GB, free: 58.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.7177, allocations: 0.924 MB / 1.083 GB, free: 58.46 MB / 0.7448 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.004984/0.7227, allocations: 4.912 MB / 1.088 GB, free: 55.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.724, allocations: 0.6393 MB / 1.089 GB, free: 54.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/0.7247, allocations: 368.3 kB / 1.089 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/0.7251, allocations: 0.8233 MB / 1.09 GB, free: 53.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7252, allocations: 49.66 kB / 1.09 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/0.7252, allocations: 0 / 1.09 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.006989/0.7322, allocations: 1.893 MB / 1.092 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.7322, allocations: 55.22 kB / 1.092 GB, free: 53.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.7338, allocations: 1.199 MB / 1.093 GB, free: 52.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7339, allocations: 43.95 kB / 1.093 GB, free: 52.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.7343, allocations: 0.5956 MB / 1.094 GB, free: 52.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.7345, allocations: 221.6 kB / 1.094 GB, free: 51.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.7345, allocations: 11.09 kB / 1.094 GB, free: 51.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.7346, allocations: 335 kB / 1.094 GB, free: 51.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.7352, allocations: 302.9 kB / 1.095 GB, free: 51.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.736, allocations: 0.5067 MB / 1.095 GB, free: 51.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.7372, allocations: 0.7387 MB / 1.096 GB, free: 50.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7372, allocations: 3.25 kB / 1.096 GB, free: 50.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004512/0.7417, allocations: 1.4 MB / 1.097 GB, free: 50.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.7418, allocations: 192.4 kB / 1.097 GB, free: 50.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.7418, allocations: 3.438 kB / 1.097 GB, free: 50.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.7424, allocations: 148 kB / 1.098 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.743, allocations: 167.3 kB / 1.098 GB, free: 50.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006789/0.7437, allocations: 0.7182 MB / 1.098 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7449, allocations: 173.5 kB / 1.099 GB, free: 49.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.745, allocations: 34.45 kB / 1.099 GB, free: 49.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.745, allocations: 5.375 kB / 1.099 GB, free: 49.39 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004203/0.7492, allocations: 1.249 MB / 1.1 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7493, allocations: 3.406 kB / 1.1 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.7498, allocations: 147.5 kB / 1.1 GB, free: 49.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.7504, allocations: 159.2 kB / 1.1 GB, free: 49.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006562/0.7511, allocations: 0.7297 MB / 1.101 GB, free: 48.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.7523, allocations: 166.2 kB / 1.101 GB, free: 48.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.7524, allocations: 30.91 kB / 1.101 GB, free: 48.35 MB / 0.7448 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.000629/0.753, allocations: 414.6 kB / 1.101 GB, free: 48.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.7533, allocations: 143.6 kB / 1.102 GB, free: 47.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.7576, allocations: 1.398 MB / 1.103 GB, free: 47.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.7576, allocations: 9.5 kB / 1.103 GB, free: 47.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7576, allocations: 0 / 1.103 GB, free: 47.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00392/0.7616, allocations: 1.227 MB / 1.104 GB, free: 47.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.7684, allocations: 2.727 MB / 1.107 GB, free: 45.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.7684, allocations: 6.406 kB / 1.107 GB, free: 45.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.7689, allocations: 124.1 kB / 1.107 GB, free: 45.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/0.7694, allocations: 144.7 kB / 1.107 GB, free: 45.87 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.7694, allocations: 13.88 kB / 1.107 GB, free: 45.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.7737, allocations: 2.487 MB / 1.109 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7737, allocations: 10.28 kB / 1.11 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/0.7789, allocations: 1.847 MB / 1.111 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.7796, allocations: 335.6 kB / 1.112 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.7798, allocations: 17.53 kB / 1.112 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.7806, allocations: 100.1 kB / 1.112 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7808, allocations: 59.7 kB / 1.112 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.7808, allocations: 33.17 kB / 1.112 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001108/0.782, allocations: 0.857 MB / 1.113 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/0.782, allocations: 0 / 1.113 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001765/0.7837, allocations: 0.7158 MB / 1.113 GB, free: 42.51 MB / 0.7448 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.0007784/0.7845, allocations: 435 kB / 1.114 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.787, allocations: 1.161 MB / 1.115 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.787, allocations: 3.188 kB / 1.115 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.7884, allocations: 0.6044 MB / 1.116 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/0.7927, allocations: 0.7841 MB / 1.116 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.7965, allocations: 2.77 MB / 1.119 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.7971, allocations: 1.173 MB / 1.12 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001369/0.7985, allocations: 311.5 kB / 1.12 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.7988, allocations: 107.3 kB / 1.121 GB, free: 39 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.7988, allocations: 0 / 1.121 GB, free: 39 MB / 0.7448 GB Notification: Performance of Templates: time 0.05283/0.8516, allocations: 31.81 MB / 1.152 GB, free: 35 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)