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.001332/0.001332, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.00149/0.00149, allocations: 166 kB / 24.82 MB, free: 9.309 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 0.9218/0.9218, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.08225/0.08225, allocations: 19.75 MB / 281.6 MB, free: 9.113 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.142e-06/1.142e-06, allocations: 0 / 358.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.61e-05, allocations: 13.48 kB / 358.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01135/0.01137, allocations: 15.64 MB / 374.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009748/0.02112, allocations: 13.34 MB / 387.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.02119, allocations: 0 / 387.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.02151, allocations: 111.2 kB / 387.6 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.02192, allocations: 254.4 kB / 387.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008434/0.03036, allocations: 5.544 MB / 393.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007973/0.03116, allocations: 1.049 MB / 394.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.0312, allocations: 16.92 kB / 394.5 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.03178, allocations: 0.5846 MB / 395.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.0322, allocations: 447.1 kB / 395.5 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.03228, allocations: 44 kB / 395.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/0.03853, allocations: 6.121 MB / 401.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.03867, allocations: 187.5 kB / 401.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.03882, allocations: 211.5 kB / 402.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004154/0.04298, allocations: 4.977 MB / 407 MB, free: 5.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.04298, allocations: 0 / 407 MB, free: 5.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.04298, allocations: 0 / 407 MB, free: 5.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.04298, allocations: 0 / 407 MB, free: 5.551 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.002417/0.0454, allocations: 1.48 MB / 408.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.04543, allocations: 8.625 kB / 408.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.04683, allocations: 471.6 kB / 409 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.04711, allocations: 264 kB / 409.2 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.0473, allocations: 294.8 kB / 409.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.04737, allocations: 36.36 kB / 409.6 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.04905, allocations: 1.455 MB / 411 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.04906, allocations: 3.938 kB / 411 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.04912, allocations: 12 kB / 411 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.04915, allocations: 12.66 kB / 411 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.05076, allocations: 1.326 MB / 412.4 MB, free: 24 kB / 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.1111/0.1618, allocations: 3.755 MB / 416.1 MB, free: 36.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1633, allocations: 0.8881 MB / 417 MB, free: 36.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.1638, allocations: 461.5 kB / 417.5 MB, free: 36.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06034/0.2241, allocations: 38.24 MB / 455.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2242, allocations: 40.97 kB / 455.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/0.2242, allocations: 0 / 455.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.00503/0.2292, allocations: 3.053 MB / 458.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.2292, allocations: 57.66 kB / 458.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.2293, allocations: 216.8 kB / 459.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.2294, allocations: 30.58 kB / 459.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.2294, allocations: 206.4 kB / 459.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2295, allocations: 162.1 kB / 459.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.2298, allocations: 224.6 kB / 459.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.2298, allocations: 0.5085 MB / 460.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.2303, allocations: 0.5344 MB / 460.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.2308, allocations: 0.6563 MB / 461.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.2316, allocations: 0.8915 MB / 462.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2316, allocations: 0 / 462.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001373/0.233, allocations: 1.221 MB / 463.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.233, allocations: 6.344 kB / 463.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.233, allocations: 4 kB / 463.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.233, allocations: 7.938 kB / 463.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/0.2339, allocations: 389.6 kB / 463.9 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2339, allocations: 6.906 kB / 463.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.2345, allocations: 155.6 kB / 464 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.2346, allocations: 78.3 kB / 464.1 MB, free: 6.832 MB / 330.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.0001879/0.2348, allocations: 178.6 kB / 464.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.235, allocations: 31.84 kB / 464.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.2375, allocations: 3.641 MB / 468 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001819/0.2394, allocations: 3.094 MB / 471.1 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2394, allocations: 1.641 kB / 471.1 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2394, allocations: 3.984 kB / 471.1 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.2436, allocations: 5.599 MB / 476.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2436, allocations: 0 / 476.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.2446, allocations: 384.8 kB / 477 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2446, allocations: 7.938 kB / 477 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.2446, allocations: 47.91 kB / 477.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.2446, allocations: 6.812 kB / 477.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2446, allocations: 4 kB / 477.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.2468, allocations: 1.931 MB / 479 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.247, allocations: 167.1 kB / 479.2 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.2471, allocations: 20.02 kB / 479.2 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.2477, allocations: 159.8 kB / 479.4 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2478, allocations: 84.23 kB / 479.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.2479, allocations: 43.91 kB / 479.5 MB, free: 7.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.2479, allocations: 145 kB / 479.6 MB, free: 7.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2479, allocations: 0 / 479.6 MB, free: 7.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001862/0.2498, allocations: 0.979 MB / 480.6 MB, free: 6.742 MB / 346.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.002269/0.2521, allocations: 1.14 MB / 481.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.2534, allocations: 1.312 MB / 483.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2534, allocations: 0 / 483.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.254, allocations: 0.7164 MB / 483.8 MB, free: 3.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.2545, allocations: 182.1 kB / 484 MB, free: 3.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2561, allocations: 1.249 MB / 485.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.527e-05/0.2562, allocations: 172.6 kB / 485.4 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.2573, allocations: 1.163 MB / 486.5 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007882/0.2581, allocations: 305.9 kB / 486.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2581, allocations: 0 / 486.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of Templates: time 0.04441/0.3025, allocations: 51.26 MB / 0.5255 GB, free: 13.7 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 & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1508129220455885]