Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.0009096/0.0009096, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001491/0.001491, allocations: 165 kB / 24.56 MB, free: 4 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.9164/0.9164, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08709/0.08709, allocations: 19.74 MB / 281.2 MB, free: 9.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 358.1 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.848e-05, allocations: 6.25 kB / 358.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01398/0.014, allocations: 15.84 MB / 373.9 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.02507, allocations: 13.56 MB / 387.5 MB, free: 9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.02517, allocations: 4 kB / 387.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.02556, allocations: 115.2 kB / 387.6 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.02602, allocations: 250.4 kB / 387.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009218/0.03524, allocations: 5.544 MB / 393.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.03632, allocations: 1.05 MB / 394.4 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.03637, allocations: 16.92 kB / 394.4 MB, free: 2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.03698, allocations: 0.5845 MB / 395 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.03744, allocations: 447.1 kB / 395.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.03752, allocations: 44 kB / 395.5 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007191/0.04471, allocations: 6.125 MB / 401.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.04486, allocations: 179.5 kB / 401.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.04503, allocations: 207.6 kB / 402 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.05003, allocations: 4.981 MB / 407 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.05003, allocations: 0 / 407 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.05003, allocations: 0 / 407 MB, free: 5.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.05004, allocations: 0 / 407 MB, free: 5.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002858/0.0529, allocations: 1.546 MB / 408.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.05293, allocations: 8.625 kB / 408.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.05438, allocations: 491.6 kB / 409 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.05474, allocations: 288 kB / 409.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.05495, allocations: 302.8 kB / 409.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.05505, allocations: 36.38 kB / 409.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.05704, allocations: 1.572 MB / 411.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.05705, allocations: 11.88 kB / 411.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.05712, allocations: 12 kB / 411.2 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.05714, allocations: 8.656 kB / 411.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1138/0.171, allocations: 1.53 MB / 412.8 MB, free: 39.57 MB / 330.7 MB 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.00226/0.1732, allocations: 3.838 MB / 416.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.1747, allocations: 0.9927 MB / 417.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/0.1753, allocations: 0.5357 MB / 418.1 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06885/0.2442, allocations: 44 MB / 462.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2442, allocations: 41.66 kB / 462.2 MB, free: 8.422 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.953e-06/0.2442, allocations: 0 / 462.2 MB, free: 8.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.005717/0.2499, allocations: 3.455 MB / 465.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.25, allocations: 55.41 kB / 465.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.25, allocations: 216.5 kB / 465.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.2501, allocations: 40.55 kB / 465.9 MB, free: 5.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.2502, allocations: 191.2 kB / 466.1 MB, free: 4.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2503, allocations: 160.8 kB / 466.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.2505, allocations: 230.1 kB / 466.5 MB, free: 4.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.2506, allocations: 0.503 MB / 467 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.2512, allocations: 0.6322 MB / 467.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.2519, allocations: 0.7547 MB / 468.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2529, allocations: 1.028 MB / 469.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2529, allocations: 0 / 469.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001693/0.2546, allocations: 1.39 MB / 470.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2546, allocations: 8 kB / 470.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2547, allocations: 4 kB / 470.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2547, allocations: 4 kB / 470.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.2557, allocations: 421.6 kB / 471.2 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2557, allocations: 4 kB / 471.2 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.2563, allocations: 183.8 kB / 471.4 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.2565, allocations: 79.86 kB / 471.5 MB, free: 15.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002141/0.2567, allocations: 182.9 kB / 471.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.2569, allocations: 36.41 kB / 471.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.2608, allocations: 4.268 MB / 476 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002934/0.2637, allocations: 3.713 MB / 479.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2637, allocations: 0 / 479.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2638, allocations: 3.984 kB / 479.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.269, allocations: 6.306 MB / 486 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.269, allocations: 0 / 486 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.27, allocations: 420.3 kB / 486.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.27, allocations: 4 kB / 486.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.2701, allocations: 47.91 kB / 486.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2701, allocations: 0 / 486.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2701, allocations: 11.31 kB / 486.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.2727, allocations: 2.268 MB / 488.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.273, allocations: 179.2 kB / 488.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.2731, allocations: 20.03 kB / 488.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.2737, allocations: 183.8 kB / 489.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.2739, allocations: 72.81 kB / 489.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.2739, allocations: 55.91 kB / 489.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.2742, allocations: 154 kB / 489.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2742, allocations: 0 / 489.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001977/0.2762, allocations: 0.9789 MB / 490.4 MB, free: 12.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 6 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002383/0.2786, allocations: 1.111 MB / 491.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.2803, allocations: 1.527 MB / 493 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2803, allocations: 0 / 493 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008681/0.2812, allocations: 0.8235 MB / 493.8 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.2817, allocations: 186 kB / 494 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.2836, allocations: 1.298 MB / 495.3 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.525e-05/0.2837, allocations: 168.6 kB / 495.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001427/0.2851, allocations: 1.226 MB / 496.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/0.2856, allocations: 160.2 kB / 496.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2856, allocations: 0 / 496.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of Templates: time 0.04005/0.3257, allocations: 45.14 MB / 0.5293 GB, free: 9.508 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.510007299948484]