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.001351/0.001351, allocations: 85.28 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001425/0.001425, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.285/1.285, allocations: 158.6 MB / 185.7 MB, free: 6.434 MB / 174.1 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.2711/0.2711, allocations: 36.35 MB / 274.3 MB, free: 0.6523 MB / 254.1 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.543e-06/1.543e-06, allocations: 3.938 kB / 415 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.18e-05, allocations: 2.281 kB / 415 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01901/0.01903, allocations: 14.3 MB / 429.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.03554, allocations: 12.17 MB / 441.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.03568, allocations: 4 kB / 441.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.03612, allocations: 115.2 kB / 441.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.03674, allocations: 238.4 kB / 441.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.04999, allocations: 5.535 MB / 447.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.05131, allocations: 1.045 MB / 448.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.05137, allocations: 16.88 kB / 448.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.05241, allocations: 0.5846 MB / 449 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.05318, allocations: 443.1 kB / 449.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.05332, allocations: 44 kB / 449.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.06429, allocations: 6.117 MB / 455.6 MB, free: 2.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.06454, allocations: 187.5 kB / 455.7 MB, free: 2.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.06489, allocations: 203.6 kB / 455.9 MB, free: 2.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008191/0.07308, allocations: 5.013 MB / 460.9 MB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.07309, allocations: 0 / 460.9 MB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.07309, allocations: 0 / 460.9 MB, free: 13.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.0731, allocations: 0 / 460.9 MB, free: 13.37 MB / 398.1 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.005411/0.07851, allocations: 1.447 MB / 462.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.07854, allocations: 12.03 kB / 462.4 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.08008, allocations: 160.6 kB / 462.6 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.08067, allocations: 289.2 kB / 462.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/0.08113, allocations: 318.7 kB / 463.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.08127, allocations: 32.36 kB / 463.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005453/0.08673, allocations: 1.981 MB / 465.2 MB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.08675, allocations: 11.88 kB / 465.2 MB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.08686, allocations: 12 kB / 465.2 MB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.08688, allocations: 12.66 kB / 465.2 MB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008007/0.09489, allocations: 2.64 MB / 467.8 MB, free: 6.301 MB / 398.1 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.004945/0.09984, allocations: 3.74 MB / 471.6 MB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/0.1043, allocations: 1.342 MB / 472.9 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1565/0.2608, allocations: 0.9739 MB / 473.9 MB, free: 67.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1373/0.398, allocations: 42.23 MB / 0.504 GB, free: 37.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3981, allocations: 38.89 kB / 0.5041 GB, free: 37.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.3981, allocations: 0 / 0.5041 GB, free: 37.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.02265/0.4207, allocations: 5.779 MB / 0.5097 GB, free: 31.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.4207, allocations: 55.41 kB / 0.5098 GB, free: 31.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.4208, allocations: 156.5 kB / 0.5099 GB, free: 31.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.421, allocations: 37.7 kB / 0.51 GB, free: 31.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.421, allocations: 151.6 kB / 0.5101 GB, free: 31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.4212, allocations: 157.7 kB / 0.5102 GB, free: 30.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/0.4216, allocations: 225.9 kB / 0.5105 GB, free: 30.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.4217, allocations: 332.8 kB / 0.5108 GB, free: 30.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.4253, allocations: 1.121 MB / 0.5119 GB, free: 29.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.4291, allocations: 1.2 MB / 0.513 GB, free: 27.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/0.4362, allocations: 1.982 MB / 0.515 GB, free: 25.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4362, allocations: 0 / 0.515 GB, free: 25.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008016/0.4442, allocations: 2.331 MB / 0.5173 GB, free: 23.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4443, allocations: 8 kB / 0.5173 GB, free: 23.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4443, allocations: 0 / 0.5173 GB, free: 23.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4443, allocations: 8 kB / 0.5173 GB, free: 23.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.4469, allocations: 495.2 kB / 0.5177 GB, free: 23.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4469, allocations: 4 kB / 0.5178 GB, free: 23.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.4488, allocations: 255.6 kB / 0.518 GB, free: 22.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.449, allocations: 79.86 kB / 0.5181 GB, free: 22.77 MB / 398.1 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.000334/0.4493, allocations: 173 kB / 0.5182 GB, free: 22.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.4496, allocations: 27.84 kB / 0.5183 GB, free: 22.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/0.4595, allocations: 7.444 MB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008827/0.4684, allocations: 6.897 MB / 0.5323 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4684, allocations: 0 / 0.5323 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.4684, allocations: 3.984 kB / 0.5323 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.4816, allocations: 10.63 MB / 0.5427 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.4816, allocations: 0 / 0.5427 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/0.4843, allocations: 495.2 kB / 0.5431 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4843, allocations: 0 / 0.5431 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.4845, allocations: 51.91 kB / 0.5432 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4845, allocations: 0 / 0.5432 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4845, allocations: 0 / 0.5432 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.4973, allocations: 4.547 MB / 0.5476 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.4978, allocations: 217.7 kB / 0.5478 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.498, allocations: 16.06 kB / 0.5478 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.4998, allocations: 252.5 kB / 0.5481 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.5001, allocations: 84.75 kB / 0.5482 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.5002, allocations: 55.89 kB / 0.5482 GB, free: 7.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.628e-05/0.5003, allocations: 103.3 kB / 0.5483 GB, free: 7.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5003, allocations: 4 kB / 0.5483 GB, free: 7.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00276/0.5031, allocations: 0.979 MB / 0.5493 GB, free: 6.539 MB / 414.1 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: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.003598/0.5067, allocations: 1.096 MB / 0.5503 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008603/0.5153, allocations: 2.63 MB / 0.5529 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5153, allocations: 0 / 0.5529 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004147/0.5194, allocations: 1.408 MB / 0.5543 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008395/0.5203, allocations: 108.3 kB / 0.5544 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.5258, allocations: 2.155 MB / 0.5565 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.5261, allocations: 325.8 kB / 0.5568 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002188/0.5283, allocations: 1.294 MB / 0.5581 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/0.5292, allocations: 164.2 kB / 0.5582 GB, free: 13.39 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5292, allocations: 0 / 0.5582 GB, free: 13.39 MB / 430.1 MB Notification: Performance of Templates: time 0.06405/0.5932, allocations: 44.45 MB / 0.6016 GB, free: 0.8828 MB / 462.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 28.609206441789865] Failed to read output from testmodel.py, exit status != 0: 0.6016911379992962 0.616047405 0.539801165 Calling exit ...