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.0008373/0.0008373, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003599/0.003599, allocations: 160.9 kB / 24.7 MB, free: 9.41 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.8764/0.8764, allocations: 177.1 MB / 205 MB, free: 5.723 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.09356/0.09356, allocations: 19.74 MB / 281.2 MB, free: 9.453 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.052e-06/1.052e-06, allocations: 0 / 417.9 MB, free: 7.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.179e-05, allocations: 6.219 kB / 417.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01121/0.01123, allocations: 14.38 MB / 432.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.0219, allocations: 12.17 MB / 444.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.022, allocations: 2.438 kB / 444.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.02237, allocations: 114.9 kB / 444.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.02284, allocations: 249.8 kB / 444.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.03538, allocations: 5.541 MB / 450.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.03641, allocations: 1.051 MB / 451.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.03646, allocations: 16.95 kB / 451.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.03713, allocations: 0.5916 MB / 452 MB, free: 196 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.03756, allocations: 448.7 kB / 452.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.03763, allocations: 44 kB / 452.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007849/0.04548, allocations: 6.114 MB / 458.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.04562, allocations: 191.5 kB / 458.8 MB, free: 9.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.04578, allocations: 211.5 kB / 459 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005856/0.05164, allocations: 5.02 MB / 464 MB, free: 4.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.05164, allocations: 0 / 464 MB, free: 4.191 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05165, allocations: 0 / 464 MB, free: 4.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.05165, allocations: 0 / 464 MB, free: 4.191 MB / 362.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.002592/0.05424, allocations: 1.451 MB / 465.5 MB, free: 2.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.05428, allocations: 8.625 kB / 465.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.05554, allocations: 360.4 kB / 465.8 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.05592, allocations: 297.3 kB / 466.1 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.05617, allocations: 318.7 kB / 466.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.05626, allocations: 28.38 kB / 466.5 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.05894, allocations: 1.981 MB / 468.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.05895, allocations: 3.938 kB / 468.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.05902, allocations: 12 kB / 468.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.05904, allocations: 16.59 kB / 468.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003963/0.063, allocations: 2.64 MB / 471.1 MB, free: 12.92 MB / 378.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.002736/0.06574, allocations: 3.744 MB / 474.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.0678, allocations: 1.342 MB / 476.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.06948, allocations: 0.9732 MB / 477.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07116/0.1406, allocations: 43.97 MB / 0.5089 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.1407, allocations: 38.89 kB / 0.509 GB, free: 10.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.1407, allocations: 4 kB / 0.509 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.01206/0.1527, allocations: 5.777 MB / 0.5146 GB, free: 4.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1528, allocations: 59.41 kB / 0.5147 GB, free: 4.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1529, allocations: 164.4 kB / 0.5148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/0.153, allocations: 37.64 kB / 0.5149 GB, free: 4.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.153, allocations: 148.9 kB / 0.515 GB, free: 4.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.1532, allocations: 158.6 kB / 0.5152 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.1534, allocations: 217.9 kB / 0.5154 GB, free: 3.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003401/0.1538, allocations: 330.8 kB / 0.5157 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.1557, allocations: 1.117 MB / 0.5168 GB, free: 2.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.1576, allocations: 1.212 MB / 0.518 GB, free: 1.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/0.1613, allocations: 1.964 MB / 0.5199 GB, free: 15.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1613, allocations: 0 / 0.5199 GB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004284/0.1656, allocations: 2.346 MB / 0.5222 GB, free: 12.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1656, allocations: 4 kB / 0.5222 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1656, allocations: 4 kB / 0.5222 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1656, allocations: 7.938 kB / 0.5222 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.1671, allocations: 491.5 kB / 0.5227 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1671, allocations: 11.94 kB / 0.5227 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.168, allocations: 247.6 kB / 0.5229 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/0.1681, allocations: 83.86 kB / 0.523 GB, free: 11.88 MB / 442.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.0002923/0.1684, allocations: 181.7 kB / 0.5232 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.1685, allocations: 23.8 kB / 0.5232 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006778/0.1753, allocations: 7.437 MB / 0.5305 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006107/0.1814, allocations: 6.897 MB / 0.5372 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1814, allocations: 4 kB / 0.5372 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1814, allocations: 3.984 kB / 0.5372 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008693/0.1901, allocations: 10.62 MB / 0.5476 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.1901, allocations: 4 kB / 0.5476 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.1913, allocations: 491.2 kB / 0.548 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.1913, allocations: 11.98 kB / 0.5481 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.1914, allocations: 43.92 kB / 0.5481 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1914, allocations: 4 kB / 0.5481 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1914, allocations: 3.984 kB / 0.5481 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/0.1977, allocations: 4.54 MB / 0.5525 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.198, allocations: 211 kB / 0.5527 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.1981, allocations: 16 kB / 0.5528 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.1989, allocations: 255.7 kB / 0.553 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.199, allocations: 76.8 kB / 0.5531 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.1991, allocations: 59.84 kB / 0.5531 GB, free: 12.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6e-05/0.1991, allocations: 109.5 kB / 0.5532 GB, free: 12.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1991, allocations: 0 / 0.5532 GB, free: 12.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002188/0.2013, allocations: 0.979 MB / 0.5542 GB, free: 11.56 MB / 474.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: 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.002214/0.2035, allocations: 1.111 MB / 0.5553 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.2078, allocations: 2.623 MB / 0.5578 GB, free: 7.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2078, allocations: 0 / 0.5578 GB, free: 7.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.2097, allocations: 1.408 MB / 0.5592 GB, free: 6.406 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.2102, allocations: 111.8 kB / 0.5593 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.2132, allocations: 2.196 MB / 0.5615 GB, free: 4.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2134, allocations: 329.7 kB / 0.5618 GB, free: 3.719 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.214, allocations: 184.2 kB / 0.5619 GB, free: 3.539 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/0.214, allocations: 0 / 0.5619 GB, free: 3.539 MB / 474.7 MB Notification: Performance of Templates: time 0.02688/0.2409, allocations: 28.8 MB / 0.5901 GB, free: 6.703 MB / 0.4948 GB " [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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.009765561670065] Failed to read output from testmodel.py, exit status != 0: 0.24645813833922148 0.405347822 0.351917285 Calling exit ...