Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.00127/0.00127, allocations: 188.3 kB / 376.9 MB, free: 1.812 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.56/1.56, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001067/0.001067, allocations: 101.4 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2908, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.5084/0.7992, allocations: 62.23 MB / 1.043 GB, free: 71.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.8174, allocations: 13.63 MB / 1.056 GB, free: 66.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.8209, allocations: 53.38 kB / 1.056 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.8249, allocations: 0.8053 MB / 1.057 GB, free: 65.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.8325, allocations: 2.189 MB / 1.059 GB, free: 64.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.8372, allocations: 1.49 MB / 1.061 GB, free: 64.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007494/0.8447, allocations: 5.461 MB / 1.066 GB, free: 62.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.8466, allocations: 1.191 MB / 1.067 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.8498, allocations: 1.435 MB / 1.069 GB, free: 61.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.8522, allocations: 1.288 MB / 1.07 GB, free: 60.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.8525, allocations: 91.56 kB / 1.07 GB, free: 60.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.8559, allocations: 1.315 MB / 1.071 GB, free: 60.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.8563, allocations: 445.9 kB / 1.072 GB, free: 60.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.8576, allocations: 0.9214 MB / 1.073 GB, free: 59.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.862, allocations: 3.064 MB / 1.076 GB, free: 58.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8621, allocations: 0 / 1.076 GB, free: 58.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.123e-06/0.8621, allocations: 0 / 1.076 GB, free: 58.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-05/0.8621, allocations: 0 / 1.076 GB, free: 58.45 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004501/0.8666, allocations: 2.339 MB / 1.078 GB, free: 57.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.8667, allocations: 13.81 kB / 1.078 GB, free: 57.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.868, allocations: 317.7 kB / 1.078 GB, free: 56.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.87, allocations: 1.433 MB / 1.08 GB, free: 56.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.8702, allocations: 154.2 kB / 1.08 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.8704, allocations: 114.4 kB / 1.08 GB, free: 55.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.8727, allocations: 1.441 MB / 1.081 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.8728, allocations: 3 kB / 1.081 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.8729, allocations: 44.47 kB / 1.081 GB, free: 55.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.873, allocations: 31.36 kB / 1.081 GB, free: 55.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.8757, allocations: 1.344 MB / 1.083 GB, free: 54.73 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.008534/0.8843, allocations: 6.613 MB / 1.089 GB, free: 49.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.8867, allocations: 1.171 MB / 1.09 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.888, allocations: 0.563 MB / 1.091 GB, free: 48.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/0.8889, allocations: 1.147 MB / 1.092 GB, free: 47.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.889, allocations: 45.28 kB / 1.092 GB, free: 47.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 5.12e-06/0.889, allocations: 2.875 kB / 1.092 GB, free: 47.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.005029/0.894, allocations: 1.587 MB / 1.093 GB, free: 46.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.8941, allocations: 110.4 kB / 1.094 GB, free: 46.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.8963, allocations: 1.383 MB / 1.095 GB, free: 46.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.8965, allocations: 48.14 kB / 1.095 GB, free: 46.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.8971, allocations: 0.7095 MB / 1.096 GB, free: 45.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.8973, allocations: 261 kB / 1.096 GB, free: 45.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.8977, allocations: 179.9 kB / 1.096 GB, free: 45.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.8977, allocations: 345.7 kB / 1.096 GB, free: 45.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.8989, allocations: 0.4893 MB / 1.097 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.9001, allocations: 0.72 MB / 1.098 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.9024, allocations: 1.128 MB / 1.099 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.9024, allocations: 0 / 1.099 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002939/0.9054, allocations: 1.356 MB / 1.1 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.9054, allocations: 10.62 kB / 1.1 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.9054, allocations: 4 kB / 1.1 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.9055, allocations: 14.12 kB / 1.1 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.9066, allocations: 274.3 kB / 1.1 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.9066, allocations: 6.875 kB / 1.1 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.9081, allocations: 197.1 kB / 1.101 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.9082, allocations: 37.69 kB / 1.101 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001741/0.91, allocations: 0.7978 MB / 1.101 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/0.9112, allocations: 0.7164 MB / 1.102 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002239/0.9135, allocations: 1.126 MB / 1.103 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/0.9135, allocations: 3.875 kB / 1.103 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003032/0.9165, allocations: 1.338 MB / 1.104 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9165, allocations: 13.94 kB / 1.104 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9166, allocations: 3.281 kB / 1.104 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.9166, allocations: 9.031 kB / 1.104 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.9177, allocations: 268.1 kB / 1.105 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/0.9177, allocations: 13.88 kB / 1.105 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.9192, allocations: 179.1 kB / 1.105 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.9193, allocations: 38.19 kB / 1.105 GB, free: 41.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003537/0.9197, allocations: 247.7 kB / 1.105 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/0.9201, allocations: 147.7 kB / 1.105 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.9235, allocations: 1.465 MB / 1.107 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.9235, allocations: 10.34 kB / 1.107 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.9235, allocations: 8.812 kB / 1.107 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002322/0.9258, allocations: 1.112 MB / 1.108 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007079/0.9329, allocations: 3.083 MB / 1.111 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.933, allocations: 6.281 kB / 1.111 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.9343, allocations: 199.4 kB / 1.111 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.9343, allocations: 6.375 kB / 1.111 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.9344, allocations: 20.91 kB / 1.111 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/0.9345, allocations: 9.281 kB / 1.111 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.9345, allocations: 10.84 kB / 1.111 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0289/0.9634, allocations: 9.122 MB / 1.12 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.9646, allocations: 378.6 kB / 1.12 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005931/0.9652, allocations: 21.69 kB / 1.12 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/0.9673, allocations: 140 kB / 1.121 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.9677, allocations: 84.55 kB / 1.121 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/0.9679, allocations: 39.56 kB / 1.121 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002599/0.9705, allocations: 1.066 MB / 1.122 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9706, allocations: 3.938 kB / 1.122 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006373/0.9769, allocations: 1.183 MB / 1.123 GB, free: 32.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.9784, allocations: 463.3 kB / 1.123 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006248/0.9847, allocations: 1.796 MB / 1.125 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.9847, allocations: 3.406 kB / 1.125 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.9871, allocations: 0.645 MB / 1.126 GB, free: 31.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00713/0.9943, allocations: 0.7909 MB / 1.126 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008217/1.003, allocations: 3.751 MB / 1.13 GB, free: 29.13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.004, allocations: 1.295 MB / 1.131 GB, free: 28.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003661/1.007, allocations: 414.4 kB / 1.132 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008858/1.008, allocations: 125.3 kB / 1.132 GB, free: 28.24 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/1.008, allocations: 7.25 kB / 1.132 GB, free: 28.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.08005/1.088, allocations: 34.86 MB / 1.166 GB, free: 21.25 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)