Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.765/2.765, allocations: 287.3 MB / 302.3 MB, free: 8.203 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.001533/0.001534, allocations: 183.2 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.227/2.227, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001088/0.001088, allocations: 102.8 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.000656, allocations: 13.09 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2132, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07701/0.2903, allocations: 52.38 MB / 1.029 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.3161, allocations: 11.87 MB / 1.041 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.3186, allocations: 51.62 kB / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004497/0.3231, allocations: 0.9331 MB / 1.042 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009367/0.3326, allocations: 2.137 MB / 1.044 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007451/0.3401, allocations: 1.623 MB / 1.046 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006695/0.3468, allocations: 2.524 MB / 1.048 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.3494, allocations: 1.074 MB / 1.049 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.3532, allocations: 1.211 MB / 1.05 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.3557, allocations: 0.8675 MB / 1.051 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005482/0.3563, allocations: 68 kB / 1.051 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.3603, allocations: 0.8581 MB / 1.052 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000869/0.3612, allocations: 358.6 kB / 1.052 GB, free: 308 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009017/0.3622, allocations: 380.8 kB / 1.053 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.3672, allocations: 2.166 MB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3673, allocations: 0 / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.045e-06/0.3673, allocations: 0 / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.604e-05/0.3674, allocations: 4 kB / 1.055 GB, free: 13.75 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006646/0.3741, allocations: 2.006 MB / 1.057 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3741, allocations: 8.031 kB / 1.057 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.3767, allocations: 349.4 kB / 1.057 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/0.3812, allocations: 1.403 MB / 1.059 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.3816, allocations: 157.5 kB / 1.059 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/0.3819, allocations: 112 kB / 1.059 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005232/0.3872, allocations: 1.418 MB / 1.06 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/0.3873, allocations: 3.984 kB / 1.06 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.3875, allocations: 48 kB / 1.06 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-05/0.3876, allocations: 39.94 kB / 1.06 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006119/0.3937, allocations: 1.323 MB / 1.062 GB, free: 6.684 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.6297/1.023, allocations: 6.402 MB / 1.068 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/1.028, allocations: 1.146 MB / 1.069 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009344/1.029, allocations: 1.147 MB / 1.07 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.029, allocations: 43.59 kB / 1.07 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 4.248e-06/1.029, allocations: 1.062 kB / 1.07 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.007568/1.036, allocations: 1.575 MB / 1.072 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.036, allocations: 112.2 kB / 1.072 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/1.039, allocations: 1.307 MB / 1.073 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002653/1.04, allocations: 43.55 kB / 1.073 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/1.041, allocations: 0.7152 MB / 1.074 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/1.041, allocations: 265.5 kB / 1.074 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/1.041, allocations: 23.81 kB / 1.074 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.041, allocations: 338.4 kB / 1.074 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/1.044, allocations: 487.9 kB / 1.075 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/1.046, allocations: 0.71 MB / 1.075 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/1.048, allocations: 0.5236 MB / 1.076 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.049, allocations: 2.312 kB / 1.076 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005878/1.054, allocations: 1.336 MB / 1.077 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004623/1.055, allocations: 1.877 MB / 1.079 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.055, allocations: 5.375 kB / 1.079 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/1.055, allocations: 13.23 kB / 1.079 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/1.058, allocations: 294 kB / 1.079 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/1.058, allocations: 13.36 kB / 1.079 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/1.06, allocations: 219.2 kB / 1.08 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/1.06, allocations: 43.78 kB / 1.08 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.06, allocations: 4.188 kB / 1.08 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005275/1.066, allocations: 1.184 MB / 1.081 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.066, allocations: 4.438 kB / 1.081 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.066, allocations: 10.58 kB / 1.081 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/1.068, allocations: 293.8 kB / 1.081 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/1.068, allocations: 10.14 kB / 1.081 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.071, allocations: 206.3 kB / 1.081 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.071, allocations: 38.25 kB / 1.081 GB, free: 81.91 MB / 0.6823 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 (reaToInt.y,intGreThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.072, allocations: 464.4 kB / 1.082 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/1.072, allocations: 155.1 kB / 1.082 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/1.078, allocations: 1.468 MB / 1.083 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.078, allocations: 9.062 kB / 1.083 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.078, allocations: 0 / 1.083 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00462/1.083, allocations: 1.102 MB / 1.084 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009535/1.092, allocations: 2.906 MB / 1.087 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.093, allocations: 4 kB / 1.087 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.094, allocations: 217.7 kB / 1.088 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-05/1.094, allocations: 11.64 kB / 1.088 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.095, allocations: 21.41 kB / 1.088 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/1.095, allocations: 12.27 kB / 1.088 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.095, allocations: 5.125 kB / 1.088 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.102, allocations: 2.299 MB / 1.09 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.104, allocations: 374.4 kB / 1.09 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/1.104, allocations: 23.42 kB / 1.09 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.106, allocations: 166.5 kB / 1.09 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.107, allocations: 85.39 kB / 1.09 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.107, allocations: 39.5 kB / 1.09 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002133/1.109, allocations: 0.9363 MB / 1.091 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.109, allocations: 0 / 1.091 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003365/1.112, allocations: 0.799 MB / 1.092 GB, free: 76.87 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/1.114, allocations: 459.7 kB / 1.093 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007727/1.122, allocations: 1.792 MB / 1.094 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/1.122, allocations: 1.484 kB / 1.094 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/1.124, allocations: 0.6313 MB / 1.095 GB, free: 76.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005816/1.13, allocations: 0.6721 MB / 1.096 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/1.137, allocations: 3.228 MB / 1.099 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.139, allocations: 1.309 MB / 1.1 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003173/1.142, allocations: 388 kB / 1.1 GB, free: 73.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/1.143, allocations: 111.6 kB / 1.101 GB, free: 73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/1.143, allocations: 4 kB / 1.101 GB, free: 73 MB / 0.6823 GB Notification: Performance of Templates: time 0.0722/1.215, allocations: 27.27 MB / 1.127 GB, free: 57.21 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)