Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002717/0.002717, allocations: 88.44 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002998/0.002998, allocations: 169.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.655/1.655, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.165/3.165, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.768e-05, allocations: 5.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.5603/0.5603, allocations: 57.23 MB / 1.057 GB, free: 59.45 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.575, allocations: 12.63 MB / 1.069 GB, free: 54.67 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.5775, allocations: 84.47 kB / 1.069 GB, free: 54.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002891/0.5804, allocations: 0.9329 MB / 1.07 GB, free: 54.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006852/0.5873, allocations: 2.656 MB / 1.073 GB, free: 52.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.5917, allocations: 1.689 MB / 1.075 GB, free: 51.61 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005339/0.5971, allocations: 4.388 MB / 1.079 GB, free: 49.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.5987, allocations: 1.126 MB / 1.08 GB, free: 48.83 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.6035, allocations: 2.433 MB / 1.082 GB, free: 47.7 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.6053, allocations: 1.136 MB / 1.083 GB, free: 47.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.6056, allocations: 174.6 kB / 1.084 GB, free: 47.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.6081, allocations: 1.19 MB / 1.085 GB, free: 46.93 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.6084, allocations: 0.5378 MB / 1.085 GB, free: 46.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.6093, allocations: 0.6814 MB / 1.086 GB, free: 46.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004838/0.6141, allocations: 3.26 MB / 1.089 GB, free: 45.11 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6141, allocations: 0 / 1.089 GB, free: 45.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6141, allocations: 0 / 1.089 GB, free: 45.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.931e-05/0.6142, allocations: 0 / 1.089 GB, free: 45.11 MB / 0.9948 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.005229/0.6194, allocations: 2.311 MB / 1.091 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.6195, allocations: 10.34 kB / 1.091 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.6225, allocations: 0.544 MB / 1.092 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.6253, allocations: 1.437 MB / 1.093 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.6255, allocations: 265.2 kB / 1.094 GB, free: 42.51 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.6257, allocations: 116.7 kB / 1.094 GB, free: 42.47 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.6295, allocations: 1.914 MB / 1.096 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.6295, allocations: 6.969 kB / 1.096 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6296, allocations: 44.22 kB / 1.096 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.6297, allocations: 35 kB / 1.096 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/0.634, allocations: 1.556 MB / 1.097 GB, free: 40.8 MB / 0.9948 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.008789/0.6427, allocations: 4.984 MB / 1.102 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.6453, allocations: 0.9127 MB / 1.103 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.6474, allocations: 0.628 MB / 1.104 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/0.6478, allocations: 102.5 kB / 1.104 GB, free: 37.07 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.6478, allocations: 44.56 kB / 1.104 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=77): time 2.494e-06/0.6478, allocations: 4 kB / 1.104 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=77): time 0.005909/0.6538, allocations: 1.895 MB / 1.106 GB, free: 36.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.6538, allocations: 116.3 kB / 1.106 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.6556, allocations: 1.322 MB / 1.107 GB, free: 35.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.6558, allocations: 43.05 kB / 1.107 GB, free: 35.69 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.6562, allocations: 0.7271 MB / 1.108 GB, free: 35.12 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.6564, allocations: 278.3 kB / 1.108 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/0.6568, allocations: 180.3 kB / 1.108 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.6569, allocations: 340.7 kB / 1.108 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.6587, allocations: 0.6031 MB / 1.109 GB, free: 34.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.6607, allocations: 1.106 MB / 1.11 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/0.6646, allocations: 1.324 MB / 1.111 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.6646, allocations: 5.375 kB / 1.111 GB, free: 32.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004603/0.6693, allocations: 1.547 MB / 1.113 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.6693, allocations: 7.875 kB / 1.113 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6693, allocations: 5.891 kB / 1.113 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.6693, allocations: 8.938 kB / 1.113 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.6709, allocations: 310.7 kB / 1.113 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.6709, allocations: 14.31 kB / 1.113 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.6728, allocations: 173.3 kB / 1.113 GB, free: 32.26 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6729, allocations: 41.22 kB / 1.113 GB, free: 32.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002403/0.6753, allocations: 0.903 MB / 1.114 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002034/0.6773, allocations: 1.104 MB / 1.115 GB, free: 31.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003494/0.6808, allocations: 1.306 MB / 1.117 GB, free: 30.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.501e-06/0.6808, allocations: 5.125 kB / 1.117 GB, free: 30.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004486/0.6853, allocations: 1.551 MB / 1.118 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6853, allocations: 6.219 kB / 1.118 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6853, allocations: 10 kB / 1.118 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6854, allocations: 9.562 kB / 1.118 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.6869, allocations: 310.2 kB / 1.119 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.6869, allocations: 13.34 kB / 1.119 GB, free: 29.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6885, allocations: 171.8 kB / 1.119 GB, free: 29.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/0.6886, allocations: 40.53 kB / 1.119 GB, free: 29.83 MB / 0.9948 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.0003606/0.689, allocations: 241.5 kB / 1.119 GB, free: 29.61 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.6893, allocations: 147.1 kB / 1.119 GB, free: 29.53 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.6939, allocations: 1.7 MB / 1.121 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6939, allocations: 8.891 kB / 1.121 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6939, allocations: 0 / 1.121 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003612/0.6975, allocations: 1.319 MB / 1.122 GB, free: 28.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007651/0.7052, allocations: 2.951 MB / 1.125 GB, free: 26.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7052, allocations: 3.312 kB / 1.125 GB, free: 26.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.7065, allocations: 232 kB / 1.125 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.7065, allocations: 7.812 kB / 1.125 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.7066, allocations: 22.86 kB / 1.125 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/0.7066, allocations: 14.39 kB / 1.125 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.7066, allocations: 6 kB / 1.125 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006263/0.7129, allocations: 2.388 MB / 1.128 GB, free: 25.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/0.7137, allocations: 303.2 kB / 1.128 GB, free: 25.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.714, allocations: 25.75 kB / 1.128 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.7153, allocations: 127 kB / 1.128 GB, free: 25.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.7155, allocations: 88.64 kB / 1.128 GB, free: 25.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7156, allocations: 44.34 kB / 1.128 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00136/0.717, allocations: 0.9212 MB / 1.129 GB, free: 25.29 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.717, allocations: 0 / 1.129 GB, free: 25.29 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002544/0.7195, allocations: 0.8553 MB / 1.13 GB, free: 25.09 MB / 0.9948 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.0009089/0.7204, allocations: 468.5 kB / 1.13 GB, free: 24.87 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006194/0.7266, allocations: 2.055 MB / 1.132 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.7266, allocations: 1.312 kB / 1.132 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/0.729, allocations: 0.7222 MB / 1.133 GB, free: 24.03 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/0.7326, allocations: 0.6224 MB / 1.134 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005982/0.7386, allocations: 2.814 MB / 1.136 GB, free: 22.29 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/0.7395, allocations: 0.6943 MB / 1.137 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001675/0.7411, allocations: 387.4 kB / 1.137 GB, free: 22 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.7416, allocations: 123.8 kB / 1.138 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/0.7416, allocations: 0 / 1.138 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of Templates: time 0.04693/0.7885, allocations: 30.4 MB / 1.167 GB, free: 8.629 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.76743568945676]