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.0008694/0.0008694, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0008539/0.0008539, allocations: 171.9 kB / 24.91 MB, free: 8.707 MB / 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.8325/0.8325, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1684/0.1684, allocations: 36.34 MB / 275.5 MB, free: 14.43 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.413e-06/1.413e-06, allocations: 0 / 305.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.353e-05, allocations: 2.312 kB / 305.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01262/0.01264, allocations: 15.69 MB / 321 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.02428, allocations: 13.5 MB / 334.5 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.02439, allocations: 7.938 kB / 334.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.02476, allocations: 115.2 kB / 334.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.0253, allocations: 250.3 kB / 334.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01161/0.0369, allocations: 5.566 MB / 340.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.03799, allocations: 1.049 MB / 341.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.03805, allocations: 22.89 kB / 341.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007849/0.03883, allocations: 0.5884 MB / 342.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.03935, allocations: 439.1 kB / 342.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.03943, allocations: 44 kB / 342.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008508/0.04794, allocations: 6.09 MB / 348.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.04811, allocations: 191.5 kB / 348.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.04831, allocations: 211.6 kB / 349 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.146/0.1943, allocations: 4.955 MB / 354 MB, free: 31.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1943, allocations: 0.75 kB / 354 MB, free: 31.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1943, allocations: 2.078 kB / 354 MB, free: 31.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1943, allocations: 2.281 kB / 354 MB, free: 31.75 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.003678/0.198, allocations: 1.34 MB / 355.3 MB, free: 31.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.198, allocations: 12.75 kB / 355.4 MB, free: 31.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.199, allocations: 302.9 kB / 355.7 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1994, allocations: 239.9 kB / 355.9 MB, free: 31.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.1996, allocations: 299.6 kB / 356.2 MB, free: 30.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1997, allocations: 31.28 kB / 356.2 MB, free: 30.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.2015, allocations: 1.418 MB / 357.6 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2015, allocations: 1.406 kB / 357.6 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.2016, allocations: 21.88 kB / 357.7 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.2016, allocations: 11.62 kB / 357.7 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.2032, allocations: 1.166 MB / 358.8 MB, free: 30.61 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.001525/0.2047, allocations: 1.7 MB / 360.5 MB, free: 29.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.2057, allocations: 0.7791 MB / 361.3 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.206, allocations: 391.6 kB / 361.7 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2049/0.411, allocations: 124.3 MB / 486 MB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.411, allocations: 38.44 kB / 486 MB, free: 13.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.805e-06/0.411, allocations: 0 / 486 MB, free: 13.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.005764/0.4168, allocations: 2.802 MB / 488.8 MB, free: 10.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.4168, allocations: 65.7 kB / 488.9 MB, free: 10.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.417, allocations: 153.5 kB / 489 MB, free: 10.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/0.417, allocations: 33.2 kB / 489.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.4171, allocations: 150.7 kB / 489.2 MB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4173, allocations: 154.6 kB / 489.4 MB, free: 10.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005901/0.4179, allocations: 172 kB / 489.5 MB, free: 10.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.4179, allocations: 332 kB / 489.9 MB, free: 9.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.4184, allocations: 452.2 kB / 490.3 MB, free: 9.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.4189, allocations: 0.5266 MB / 490.8 MB, free: 8.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.4197, allocations: 0.7929 MB / 491.6 MB, free: 8.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4197, allocations: 0 / 491.6 MB, free: 8.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001067/0.4208, allocations: 0.8973 MB / 492.5 MB, free: 7.242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4208, allocations: 8 kB / 492.5 MB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4208, allocations: 5.078 kB / 492.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4209, allocations: 7.938 kB / 492.5 MB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.4218, allocations: 351.2 kB / 492.9 MB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4218, allocations: 11.62 kB / 492.9 MB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.4224, allocations: 155.8 kB / 493 MB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.4225, allocations: 59.86 kB / 493.1 MB, free: 6.668 MB / 426.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 (bubble.phase,dew.phase,fluid[1].phase,fluid[2].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.0002457/0.4227, allocations: 135 kB / 493.2 MB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4229, allocations: 31.97 kB / 493.3 MB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.4257, allocations: 3.434 MB / 496.7 MB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002305/0.428, allocations: 2.859 MB / 499.6 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.428, allocations: 0 / 499.6 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.428, allocations: 11.67 kB / 499.6 MB, free: 212 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.4316, allocations: 4.199 MB / 0.492 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.4316, allocations: 4 kB / 0.492 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.4327, allocations: 364 kB / 0.4923 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.4328, allocations: 7.938 kB / 0.4923 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/0.4328, allocations: 43.38 kB / 0.4924 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.4328, allocations: 4 kB / 0.4924 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4328, allocations: 0 / 0.4924 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.4345, allocations: 1.667 MB / 0.494 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.4348, allocations: 127.3 kB / 0.4941 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.4349, allocations: 19.94 kB / 0.4941 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.4354, allocations: 163.8 kB / 0.4943 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4355, allocations: 75.81 kB / 0.4944 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.4356, allocations: 35.91 kB / 0.4944 GB, free: 9.566 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.69e-05/0.4356, allocations: 31.88 kB / 0.4944 GB, free: 9.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4356, allocations: 0 / 0.4944 GB, free: 9.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00244/0.4381, allocations: 0.9789 MB / 0.4954 GB, free: 8.555 MB / 442.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.002454/0.4405, allocations: 1.175 MB / 0.4965 GB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4418, allocations: 1.108 MB / 0.4976 GB, free: 6.379 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4418, allocations: 8 kB / 0.4976 GB, free: 6.371 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.4423, allocations: 0.6082 MB / 0.4982 GB, free: 5.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.4428, allocations: 167 kB / 0.4984 GB, free: 5.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.4447, allocations: 1.241 MB / 0.4996 GB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.666e-05/0.4448, allocations: 168.8 kB / 0.4997 GB, free: 4.207 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001103/0.4459, allocations: 1.167 MB / 0.5009 GB, free: 3.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/0.4467, allocations: 243 kB / 0.5011 GB, free: 2.824 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4467, allocations: 0 / 0.5011 GB, free: 2.824 MB / 442.7 MB Notification: Performance of Templates: time 0.1757/0.6224, allocations: 50.28 MB / 0.5502 GB, free: 146 MB / 458.7 MB " [Timeout remaining time 659] 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: 4.61679829005152]