Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001316/0.001316, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0008818/0.0008818, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7835/0.7835, allocations: 158.6 MB / 186.4 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1664/0.1664, allocations: 36.34 MB / 275.1 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 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_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 353.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.723e-05, allocations: 2.312 kB / 353.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01494/0.01496, allocations: 15.75 MB / 369.7 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.02551, allocations: 13.56 MB / 383.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.02558, allocations: 3.938 kB / 383.2 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.02592, allocations: 115.2 kB / 383.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.02635, allocations: 258.3 kB / 383.6 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007945/0.03429, allocations: 5.535 MB / 389.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007426/0.03503, allocations: 1.041 MB / 390.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.03508, allocations: 16.92 kB / 390.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.03566, allocations: 0.5923 MB / 390.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.03607, allocations: 447.1 kB / 391.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.03614, allocations: 40 kB / 391.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006549/0.04269, allocations: 6.103 MB / 397.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.04284, allocations: 183.5 kB / 397.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.04301, allocations: 207.6 kB / 397.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.04734, allocations: 4.966 MB / 402.7 MB, free: 2.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.04735, allocations: 3.938 kB / 402.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.04735, allocations: 0 / 402.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.04735, allocations: 0 / 402.7 MB, free: 2.375 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.002511/0.04987, allocations: 1.538 MB / 404.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.0499, allocations: 12.02 kB / 404.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.05076, allocations: 263.9 kB / 404.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.05109, allocations: 300 kB / 404.8 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.0513, allocations: 298.8 kB / 405.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.05139, allocations: 40.31 kB / 405.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.05335, allocations: 1.577 MB / 406.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.05336, allocations: 3.938 kB / 406.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.05343, allocations: 12 kB / 406.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.05345, allocations: 12.66 kB / 406.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.05547, allocations: 1.534 MB / 408.3 MB, free: 12.62 MB / 346.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.002522/0.05799, allocations: 3.839 MB / 412.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.05932, allocations: 1.003 MB / 413.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.05986, allocations: 0.5431 MB / 413.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/0.2513, allocations: 42.24 MB / 455.9 MB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2513, allocations: 41.31 kB / 455.9 MB, free: 83.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.2513, allocations: 2.406 kB / 455.9 MB, free: 83.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.00613/0.2575, allocations: 3.452 MB / 459.4 MB, free: 83.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.2575, allocations: 54.97 kB / 459.4 MB, free: 83.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.2576, allocations: 221.5 kB / 459.7 MB, free: 83.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.2577, allocations: 37.08 kB / 459.7 MB, free: 83.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.2577, allocations: 203.5 kB / 459.9 MB, free: 82.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2578, allocations: 160.2 kB / 460 MB, free: 82.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.2581, allocations: 219.8 kB / 460.3 MB, free: 82.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.2581, allocations: 0.5092 MB / 460.8 MB, free: 82.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.2588, allocations: 0.6257 MB / 461.4 MB, free: 82.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.2594, allocations: 0.7569 MB / 462.1 MB, free: 82.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2605, allocations: 1.03 MB / 463.2 MB, free: 82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2605, allocations: 6.812 kB / 463.2 MB, free: 82 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001648/0.2621, allocations: 1.383 MB / 464.6 MB, free: 81.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2622, allocations: 6.062 kB / 464.6 MB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2622, allocations: 5.688 kB / 464.6 MB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2622, allocations: 3.156 kB / 464.6 MB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.2633, allocations: 422.9 kB / 465 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2633, allocations: 7.375 kB / 465 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.2639, allocations: 177.8 kB / 465.2 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/0.264, allocations: 89.08 kB / 465.3 MB, free: 81.93 MB / 378.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.0002082/0.2643, allocations: 182.5 kB / 465.4 MB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.2645, allocations: 34.36 kB / 465.5 MB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.2676, allocations: 4.255 MB / 469.7 MB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002363/0.2699, allocations: 3.721 MB / 473.5 MB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2699, allocations: 0 / 473.5 MB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.27, allocations: 3.75 kB / 473.5 MB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.2738, allocations: 6.319 MB / 479.8 MB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2738, allocations: 0 / 479.8 MB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009775/0.2747, allocations: 417.9 kB / 480.2 MB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2747, allocations: 4 kB / 480.2 MB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.2748, allocations: 45.56 kB / 480.2 MB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2748, allocations: 3.938 kB / 480.2 MB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2748, allocations: 2.375 kB / 480.2 MB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.277, allocations: 2.272 MB / 482.5 MB, free: 69.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.2773, allocations: 185.2 kB / 482.7 MB, free: 69.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.2774, allocations: 14.81 kB / 482.7 MB, free: 69.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.278, allocations: 187.5 kB / 482.9 MB, free: 69.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2781, allocations: 73.33 kB / 483 MB, free: 69.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/0.2782, allocations: 58.59 kB / 483 MB, free: 69.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.2782, allocations: 145.7 kB / 483.2 MB, free: 69.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2782, allocations: 0 / 483.2 MB, free: 69.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001616/0.2798, allocations: 0.9805 MB / 484.1 MB, free: 68.19 MB / 378.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.002077/0.2819, allocations: 1.099 MB / 485.2 MB, free: 67.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.2833, allocations: 1.53 MB / 486.8 MB, free: 66.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2833, allocations: 0 / 486.8 MB, free: 66.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.284, allocations: 0.8298 MB / 487.6 MB, free: 65.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.2845, allocations: 165.9 kB / 487.8 MB, free: 65.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2861, allocations: 1.303 MB / 489.1 MB, free: 64.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.2862, allocations: 168.9 kB / 489.2 MB, free: 64.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009846/0.2872, allocations: 1.222 MB / 490.5 MB, free: 63.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.2877, allocations: 163.2 kB / 490.6 MB, free: 63.29 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2877, allocations: 4 kB / 490.6 MB, free: 63.28 MB / 378.7 MB Notification: Performance of Templates: time 0.03515/0.3228, allocations: 52.69 MB / 0.5306 GB, free: 10.74 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.095704913139343]