Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.649/1.649, allocations: 287.5 MB / 302.6 MB, free: 8.289 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.0009775/0.0009772, allocations: 172.6 kB / 371.2 MB, free: 10.83 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.694/1.694, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008247/0.0008246, allocations: 85.28 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 19.62 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05758/0.276, allocations: 69.48 MB / 1.047 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.2952, allocations: 14.08 MB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.2983, allocations: 51.62 kB / 1.06 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.3014, allocations: 0.5627 MB / 1.061 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009003/0.3104, allocations: 1.976 MB / 1.063 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.315, allocations: 0.975 MB / 1.064 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007343/0.3224, allocations: 4.814 MB / 1.068 GB, free: 48 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4246/0.747, allocations: 1.129 MB / 1.07 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.7509, allocations: 1.274 MB / 1.071 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.7539, allocations: 1.08 MB / 1.072 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003961/0.7544, allocations: 55.81 kB / 1.072 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.7579, allocations: 0.9205 MB / 1.073 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.7585, allocations: 271.9 kB / 1.073 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009282/0.7594, allocations: 361.4 kB / 1.073 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005895/0.7653, allocations: 2.077 MB / 1.075 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7654, allocations: 0.6562 kB / 1.075 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.857e-06/0.7654, allocations: 0 / 1.075 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.442e-05/0.7655, allocations: 0.6875 kB / 1.075 GB, free: 33.39 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.004484/0.7699, allocations: 1.784 MB / 1.077 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.77, allocations: 9.531 kB / 1.077 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.771, allocations: 241.6 kB / 1.077 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.7739, allocations: 1.483 MB / 1.079 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.774, allocations: 79.28 kB / 1.079 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.7742, allocations: 105.3 kB / 1.079 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.7766, allocations: 1.113 MB / 1.08 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.7767, allocations: 1.281 kB / 1.08 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.7768, allocations: 45.25 kB / 1.08 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.7768, allocations: 25.77 kB / 1.08 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.779, allocations: 0.9267 MB / 1.081 GB, free: 31.76 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.006516/0.7856, allocations: 4.915 MB / 1.086 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.787, allocations: 0.6368 MB / 1.087 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.7878, allocations: 368.1 kB / 1.087 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.7883, allocations: 0.83 MB / 1.088 GB, free: 28.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.7883, allocations: 37.64 kB / 1.088 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.286e-06/0.7883, allocations: 5.375 kB / 1.088 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007326/0.7957, allocations: 1.898 MB / 1.09 GB, free: 28.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.7957, allocations: 57.06 kB / 1.09 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.7977, allocations: 1.188 MB / 1.091 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.7979, allocations: 42.98 kB / 1.091 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.7984, allocations: 0.6066 MB / 1.091 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.7986, allocations: 214.7 kB / 1.092 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.7987, allocations: 13.09 kB / 1.092 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.7987, allocations: 332.5 kB / 1.092 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.7994, allocations: 295.2 kB / 1.092 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.8002, allocations: 0.5051 MB / 1.093 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.8016, allocations: 0.7426 MB / 1.093 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8016, allocations: 1.219 kB / 1.093 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004923/0.8065, allocations: 1.399 MB / 1.095 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.811e-05/0.8067, allocations: 197.6 kB / 1.095 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8067, allocations: 3.906 kB / 1.095 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.8073, allocations: 144.1 kB / 1.095 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.808, allocations: 166.4 kB / 1.095 GB, free: 26.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007756/0.8088, allocations: 0.7173 MB / 1.096 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.8104, allocations: 171.8 kB / 1.096 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/0.8105, allocations: 32.81 kB / 1.096 GB, free: 26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.8105, allocations: 4.219 kB / 1.096 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004716/0.8152, allocations: 1.252 MB / 1.097 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8153, allocations: 3.156 kB / 1.097 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.8158, allocations: 151.9 kB / 1.098 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.8166, allocations: 162.3 kB / 1.098 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000768/0.8174, allocations: 0.7264 MB / 1.098 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.819, allocations: 161 kB / 1.099 GB, free: 25.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.8191, allocations: 31.08 kB / 1.099 GB, free: 25.36 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.0008564/0.82, allocations: 424.3 kB / 1.099 GB, free: 25.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.8203, allocations: 141 kB / 1.099 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.8251, allocations: 1.386 MB / 1.101 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.8252, allocations: 11.56 kB / 1.101 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.8252, allocations: 0.5156 kB / 1.101 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004359/0.8295, allocations: 1.232 MB / 1.102 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007419/0.837, allocations: 2.734 MB / 1.104 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.837, allocations: 9.781 kB / 1.104 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.8375, allocations: 126.3 kB / 1.105 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/0.838, allocations: 137.8 kB / 1.105 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.8381, allocations: 19.75 kB / 1.105 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.8425, allocations: 2.492 MB / 1.107 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8425, allocations: 8.969 kB / 1.107 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005586/0.8481, allocations: 1.845 MB / 1.109 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8493, allocations: 332.6 kB / 1.109 GB, free: 22.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.8495, allocations: 20.59 kB / 1.109 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/0.8504, allocations: 91.33 kB / 1.109 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.8506, allocations: 58.12 kB / 1.109 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.8507, allocations: 30.27 kB / 1.109 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001356/0.852, allocations: 0.8593 MB / 1.11 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.7e-07/0.852, allocations: 0 / 1.11 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002428/0.8545, allocations: 0.7202 MB / 1.111 GB, free: 21.93 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.000956/0.8554, allocations: 409.6 kB / 1.111 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.8582, allocations: 1.161 MB / 1.113 GB, free: 21.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8582, allocations: 4.844 kB / 1.113 GB, free: 21.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.8597, allocations: 0.601 MB / 1.113 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/0.8642, allocations: 0.793 MB / 1.114 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.8684, allocations: 2.765 MB / 1.117 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.8692, allocations: 1.184 MB / 1.118 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001561/0.8707, allocations: 306.2 kB / 1.118 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.8711, allocations: 109.6 kB / 1.118 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.8711, allocations: 0.9688 kB / 1.118 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.04831/0.9194, allocations: 31.4 MB / 1.149 GB, free: 0.8672 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)