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.749/1.749, allocations: 288.4 MB / 303.4 MB, free: 8.121 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.001392/0.001392, allocations: 172.5 kB / 372 MB, free: 10.28 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.431/1.431, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007467/0.0007468, allocations: 98.27 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004326, allocations: 11.88 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05743/0.2419, allocations: 69.43 MB / 1.047 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.2625, allocations: 14.08 MB / 1.061 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.2649, allocations: 55.62 kB / 1.061 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.2668, allocations: 0.5666 MB / 1.062 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.2727, allocations: 1.974 MB / 1.064 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.2758, allocations: 0.9854 MB / 1.065 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4503/0.7261, allocations: 4.773 MB / 1.069 GB, free: 33.94 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.7289, allocations: 1.014 MB / 1.07 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.7326, allocations: 1.278 MB / 1.072 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.7353, allocations: 1.078 MB / 1.073 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.7357, allocations: 59.22 kB / 1.073 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.739, allocations: 0.9263 MB / 1.074 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.7395, allocations: 267.2 kB / 1.074 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008507/0.7404, allocations: 358 kB / 1.074 GB, free: 33.81 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.7443, allocations: 2.081 MB / 1.076 GB, free: 33.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7444, allocations: 1.031 kB / 1.076 GB, free: 33.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7444, allocations: 0 / 1.076 GB, free: 33.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.659e-05/0.7444, allocations: 0 / 1.076 GB, free: 33.74 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.004623/0.7491, allocations: 1.8 MB / 1.078 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.7491, allocations: 9.641 kB / 1.078 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.7502, allocations: 246.5 kB / 1.078 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.7534, allocations: 1.442 MB / 1.08 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.7535, allocations: 77.69 kB / 1.08 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.7537, allocations: 104.8 kB / 1.08 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.7563, allocations: 1.116 MB / 1.081 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.7563, allocations: 4.781 kB / 1.081 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7564, allocations: 42.06 kB / 1.081 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.7565, allocations: 26.17 kB / 1.081 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.7588, allocations: 0.9244 MB / 1.082 GB, free: 32.15 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.007152/0.7659, allocations: 4.911 MB / 1.087 GB, free: 29.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.7675, allocations: 0.636 MB / 1.087 GB, free: 29.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/0.7683, allocations: 366.5 kB / 1.088 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/0.7688, allocations: 0.8264 MB / 1.088 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.7689, allocations: 47.47 kB / 1.088 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.567e-06/0.7689, allocations: 0 / 1.088 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007801/0.7767, allocations: 1.892 MB / 1.09 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.7768, allocations: 58.12 kB / 1.09 GB, free: 28.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.7792, allocations: 1.202 MB / 1.092 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.7794, allocations: 40.55 kB / 1.092 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.7799, allocations: 0.6033 MB / 1.092 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.7801, allocations: 214.6 kB / 1.092 GB, free: 28.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.7802, allocations: 17.31 kB / 1.092 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.7803, allocations: 335.9 kB / 1.093 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/0.781, allocations: 293.7 kB / 1.093 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008741/0.7819, allocations: 0.5098 MB / 1.093 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.7827, allocations: 359.4 kB / 1.094 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7827, allocations: 5.938 kB / 1.094 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005171/0.7879, allocations: 1.388 MB / 1.095 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.788, allocations: 198.2 kB / 1.095 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.788, allocations: 2.719 kB / 1.095 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.7887, allocations: 158 kB / 1.096 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.7894, allocations: 167.1 kB / 1.096 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008772/0.7903, allocations: 0.7135 MB / 1.096 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.7923, allocations: 175.2 kB / 1.097 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.7924, allocations: 35.69 kB / 1.097 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.7924, allocations: 7.469 kB / 1.097 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004892/0.7973, allocations: 1.241 MB / 1.098 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7973, allocations: 4.094 kB / 1.098 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.7979, allocations: 152.2 kB / 1.098 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.7986, allocations: 160.7 kB / 1.098 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007717/0.7994, allocations: 0.7195 MB / 1.099 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.8012, allocations: 166.9 kB / 1.099 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.8013, allocations: 36.17 kB / 1.099 GB, free: 25.9 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.0009793/0.8023, allocations: 413 kB / 1.099 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.8026, allocations: 142.4 kB / 1.1 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.8077, allocations: 1.399 MB / 1.101 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.8077, allocations: 9.203 kB / 1.101 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.8077, allocations: 0 / 1.101 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004553/0.8123, allocations: 1.23 MB / 1.102 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.8196, allocations: 2.734 MB / 1.105 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.8196, allocations: 4.812 kB / 1.105 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.8201, allocations: 121.4 kB / 1.105 GB, free: 24.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.8207, allocations: 140.1 kB / 1.105 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.8207, allocations: 20.3 kB / 1.105 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.8253, allocations: 2.486 MB / 1.107 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8253, allocations: 8.891 kB / 1.107 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005467/0.8308, allocations: 1.845 MB / 1.109 GB, free: 22.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/0.8318, allocations: 340 kB / 1.11 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.832, allocations: 21.41 kB / 1.11 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.8329, allocations: 86.88 kB / 1.11 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.8331, allocations: 61.84 kB / 1.11 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.8331, allocations: 32.56 kB / 1.11 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001366/0.8345, allocations: 0.8535 MB / 1.111 GB, free: 22.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8345, allocations: 0 / 1.111 GB, free: 22.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002363/0.8369, allocations: 0.7095 MB / 1.111 GB, free: 22.5 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.0009392/0.8378, allocations: 424.9 kB / 1.112 GB, free: 22.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002823/0.8407, allocations: 1.162 MB / 1.113 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8407, allocations: 2.625 kB / 1.113 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.8423, allocations: 0.6007 MB / 1.113 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/0.8465, allocations: 0.7637 MB / 1.114 GB, free: 22.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.8514, allocations: 2.769 MB / 1.117 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.8522, allocations: 1.173 MB / 1.118 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00184/0.854, allocations: 306.5 kB / 1.118 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.8543, allocations: 105.7 kB / 1.118 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.133e-06/0.8543, allocations: 0 / 1.118 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.04641/0.9007, allocations: 29.67 MB / 1.147 GB, free: 2.414 MB / 0.6823 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)