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.0007866/0.0007866, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001193/0.001193, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9595/0.9595, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.904/1.904, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.813e-06/1.813e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.547e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.01525/0.01526, allocations: 19.29 MB / 0.794 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.02462, allocations: 7.244 MB / 0.8011 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008608/0.02549, allocations: 84.25 kB / 0.8012 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.02649, allocations: 0.5941 MB / 0.8018 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.02879, allocations: 1.75 MB / 0.8035 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.03056, allocations: 1.417 MB / 0.8049 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.03381, allocations: 4.279 MB / 0.809 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.03514, allocations: 1.226 MB / 0.8102 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.0369, allocations: 2.072 MB / 0.8123 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009594/0.03786, allocations: 1.115 MB / 0.8134 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.03802, allocations: 173.3 kB / 0.8135 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.03889, allocations: 0.6863 MB / 0.8142 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.0392, allocations: 0.5371 MB / 0.8147 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.03993, allocations: 0.6748 MB / 0.8154 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.04146, allocations: 1.849 MB / 0.8172 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.04146, allocations: 0.8125 kB / 0.8172 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.04146, allocations: 0 / 0.8172 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.04147, allocations: 0.9375 kB / 0.8172 GB, free: 10.39 MB / 0.7761 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.002062/0.04354, allocations: 2.128 MB / 0.8193 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.04357, allocations: 9.344 kB / 0.8193 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.04465, allocations: 473.2 kB / 0.8197 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.04579, allocations: 1.009 MB / 0.8207 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.04594, allocations: 272.6 kB / 0.821 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.04607, allocations: 116 kB / 0.8211 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.04733, allocations: 1.364 MB / 0.8224 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.04736, allocations: 8.969 kB / 0.8224 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.04743, allocations: 44 kB / 0.8225 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.04746, allocations: 28 kB / 0.8225 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/0.04811, allocations: 441.3 kB / 0.8229 GB, free: 4.258 MB / 0.7761 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.003498/0.0516, allocations: 3.459 MB / 0.8263 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.05226, allocations: 482 kB / 0.8267 GB, free: 244 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.05249, allocations: 185.4 kB / 0.8269 GB, free: 60 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.05262, allocations: 48.62 kB / 0.827 GB, free: 12 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.05266, allocations: 43.88 kB / 0.827 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=77): time 1.713e-06/0.05266, allocations: 3.938 kB / 0.827 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of matching and sorting (n=77): time 0.0007828/0.05344, allocations: 0.5209 MB / 0.8275 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.05349, allocations: 111.5 kB / 0.8276 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.05423, allocations: 1.065 MB / 0.8287 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.05429, allocations: 45.7 kB / 0.8287 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.0548, allocations: 0.5162 MB / 0.8292 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.05495, allocations: 277.6 kB / 0.8295 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.05515, allocations: 170.5 kB / 0.8296 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.05523, allocations: 345.9 kB / 0.83 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.05553, allocations: 172.6 kB / 0.8301 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.056, allocations: 0.6644 MB / 0.8308 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.05663, allocations: 0.5407 MB / 0.8313 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.05664, allocations: 4 kB / 0.8313 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0008117/0.05745, allocations: 0.6035 MB / 0.8319 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.05746, allocations: 8 kB / 0.8319 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.05747, allocations: 4 kB / 0.8319 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.05749, allocations: 8 kB / 0.8319 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.05816, allocations: 275.9 kB / 0.8322 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.05817, allocations: 15.92 kB / 0.8322 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.05858, allocations: 127.4 kB / 0.8323 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.05864, allocations: 35.97 kB / 0.8324 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004331/0.05907, allocations: 263.7 kB / 0.8326 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004674/0.05954, allocations: 0.6673 MB / 0.8333 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006215/0.06016, allocations: 0.5224 MB / 0.8338 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.06016, allocations: 4 kB / 0.8338 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.000793/0.06096, allocations: 0.6149 MB / 0.8344 GB, free: 7.863 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.06097, allocations: 8 kB / 0.8344 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.06097, allocations: 4 kB / 0.8344 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.06098, allocations: 8.531 kB / 0.8344 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.0616, allocations: 279.6 kB / 0.8347 GB, free: 7.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.06161, allocations: 15.94 kB / 0.8347 GB, free: 7.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.06201, allocations: 119.5 kB / 0.8348 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.06206, allocations: 31.98 kB / 0.8348 GB, free: 7.406 MB / 0.7917 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.0001597/0.06222, allocations: 236 kB / 0.835 GB, free: 7.168 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.06236, allocations: 115.8 kB / 0.8352 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.0635, allocations: 0.781 MB / 0.8359 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.06351, allocations: 8 kB / 0.8359 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.06351, allocations: 0 / 0.8359 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000414/0.06393, allocations: 404.2 kB / 0.8363 GB, free: 5.812 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.06566, allocations: 1.537 MB / 0.8378 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.06567, allocations: 8 kB / 0.8378 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.06618, allocations: 192.1 kB / 0.838 GB, free: 3.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.06619, allocations: 8 kB / 0.838 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.06623, allocations: 27.98 kB / 0.838 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.06623, allocations: 4 kB / 0.838 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.06624, allocations: 11.94 kB / 0.8381 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/0.06717, allocations: 0.8699 MB / 0.8389 GB, free: 3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.06746, allocations: 206.7 kB / 0.8391 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.06756, allocations: 24 kB / 0.8391 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.06801, allocations: 75.95 kB / 0.8392 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.06813, allocations: 88.23 kB / 0.8393 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.06819, allocations: 31.97 kB / 0.8393 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004165/0.0686, allocations: 0.5552 MB / 0.8399 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.0686, allocations: 0 / 0.8399 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001024/0.06963, allocations: 0.764 MB / 0.8406 GB, free: 1.254 MB / 0.7917 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.0003174/0.06995, allocations: 229.7 kB / 0.8408 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.07102, allocations: 0.8069 MB / 0.8416 GB, free: 212 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.07104, allocations: 16 kB / 0.8416 GB, free: 196 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.07135, allocations: 247 kB / 0.8419 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.07295, allocations: 0.6613 MB / 0.8425 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.07552, allocations: 2.405 MB / 0.8448 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.07572, allocations: 293.5 kB / 0.8451 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007394/0.07646, allocations: 294.3 kB / 0.8454 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.07751, allocations: 0.5223 MB / 0.8459 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/0.07751, allocations: 0 / 0.8459 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.03217/0.1097, allocations: 29.54 MB / 0.8748 GB, free: 14.75 MB / 0.8386 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.501638886053115]