Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.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.0009542/0.0009542, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001174/0.001174, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9503/0.9503, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.1039/0.1039, allocations: 19.76 MB / 281.6 MB, free: 9.07 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.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 358.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.487e-05, allocations: 2.312 kB / 358.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02416/0.02418, allocations: 29.1 MB / 387.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00911/0.03329, allocations: 8.955 MB / 396.5 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.03383, allocations: 31.69 kB / 396.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.03441, allocations: 253.9 kB / 396.8 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008936/0.0353, allocations: 0.5971 MB / 397.4 MB, free: 296 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.04612, allocations: 5.484 MB / 402.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.04794, allocations: 1.671 MB / 404.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.04847, allocations: 0.4963 MB / 405 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.04929, allocations: 0.8067 MB / 405.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.04977, allocations: 0.5141 MB / 406.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.04984, allocations: 72 kB / 406.4 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007956/0.05779, allocations: 5.892 MB / 412.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.05794, allocations: 179.2 kB / 412.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.0583, allocations: 351.2 kB / 412.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006094/0.0644, allocations: 4.907 MB / 417.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.0644, allocations: 3.938 kB / 417.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0644, allocations: 0 / 417.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.06441, allocations: 4 kB / 417.7 MB, free: 11.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002989/0.0674, allocations: 1.82 MB / 419.5 MB, free: 9.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.06743, allocations: 8.031 kB / 419.6 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.06779, allocations: 248 kB / 419.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.06832, allocations: 0.5709 MB / 420.4 MB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.06847, allocations: 338.9 kB / 420.7 MB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.06852, allocations: 52.38 kB / 420.7 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008767/0.0694, allocations: 0.7186 MB / 421.5 MB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.06941, allocations: 3.938 kB / 421.5 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.06944, allocations: 24 kB / 421.5 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.06945, allocations: 12 kB / 421.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.07017, allocations: 0.5173 MB / 422 MB, free: 7.387 MB / 394.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.001868/0.07204, allocations: 2.086 MB / 424.1 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.07264, allocations: 367.1 kB / 424.5 MB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.07277, allocations: 120.4 kB / 424.6 MB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.07281, allocations: 16.36 kB / 424.6 MB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.07283, allocations: 45.7 kB / 424.6 MB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002788/0.07311, allocations: 111.7 kB / 424.8 MB, free: 4.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 1.363e-06/0.07311, allocations: 0 / 424.8 MB, free: 4.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.004108/0.07722, allocations: 1.624 MB / 426.4 MB, free: 2.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.07724, allocations: 55.41 kB / 426.4 MB, free: 2.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.07757, allocations: 0.5461 MB / 427 MB, free: 2.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.0776, allocations: 33.7 kB / 427 MB, free: 2.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.07779, allocations: 427.5 kB / 427.4 MB, free: 1.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.07788, allocations: 166.5 kB / 427.6 MB, free: 1.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.07798, allocations: 99.78 kB / 427.7 MB, free: 1.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.07813, allocations: 0.5507 MB / 428.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.07825, allocations: 85.61 kB / 428.3 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.07836, allocations: 84.42 kB / 428.4 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.07863, allocations: 203.3 kB / 428.6 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.07863, allocations: 0 / 428.6 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006103/0.07924, allocations: 484.7 kB / 429.1 MB, free: 164 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.07925, allocations: 4 kB / 429.1 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.07926, allocations: 0 / 429.1 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/0.08222, allocations: 1.028 MB / 430.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.08235, allocations: 51.91 kB / 430.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009689/0.08332, allocations: 1.107 MB / 431.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.08357, allocations: 19.98 kB / 431.3 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.08359, allocations: 23.97 kB / 431.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000204/0.0838, allocations: 199.8 kB / 431.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001269/0.08392, allocations: 124.5 kB / 431.6 MB, free: 13.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002277/0.08415, allocations: 202.8 kB / 431.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.08415, allocations: 0 / 431.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.000515/0.08467, allocations: 404.6 kB / 432.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.08468, allocations: 4 kB / 432.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.08468, allocations: 0 / 432.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/0.08512, allocations: 75.59 kB / 432.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.08533, allocations: 103.9 kB / 432.4 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008423/0.08618, allocations: 1.824 MB / 434.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.0864, allocations: 15.98 kB / 434.2 MB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.08642, allocations: 19.98 kB / 434.3 MB, free: 10.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.08657, allocations: 292 kB / 434.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.08667, allocations: 87.53 kB / 434.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.08741, allocations: 0.5821 MB / 435.2 MB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.08741, allocations: 8 kB / 435.2 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.08741, allocations: 0 / 435.2 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.08742, allocations: 0 / 435.2 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.08877, allocations: 1.15 MB / 436.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.08877, allocations: 0 / 436.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.08888, allocations: 67.97 kB / 436.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009894/0.08987, allocations: 464 kB / 436.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.0899, allocations: 20 kB / 436.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007261/0.09062, allocations: 1.151 MB / 438.1 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09063, allocations: 4 kB / 438.1 MB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.09125, allocations: 0.7088 MB / 438.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.09134, allocations: 75.41 kB / 438.8 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.09139, allocations: 12 kB / 438.9 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.09155, allocations: 19.98 kB / 438.9 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.09164, allocations: 72.33 kB / 438.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.09166, allocations: 15.98 kB / 439 MB, free: 5.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.09184, allocations: 358.8 kB / 439.3 MB, free: 5.582 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09184, allocations: 0 / 439.3 MB, free: 5.582 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002448/0.09429, allocations: 1.181 MB / 440.5 MB, free: 4.398 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (V2.fluidState.phase,V3.fluidState.phase,V5.fluidState.phase,V4.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002579/0.09687, allocations: 1.125 MB / 441.6 MB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009946/0.09786, allocations: 0.6525 MB / 442.3 MB, free: 2.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09787, allocations: 0 / 442.3 MB, free: 2.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.09823, allocations: 284.9 kB / 442.6 MB, free: 2.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.0993, allocations: 456 kB / 443 MB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.101, allocations: 1.286 MB / 444.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.1011, allocations: 159.7 kB / 444.4 MB, free: 344 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.121/0.2221, allocations: 0.657 MB / 445.1 MB, free: 98.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.2226, allocations: 305.9 kB / 445.4 MB, free: 98.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2226, allocations: 0 / 445.4 MB, free: 98.48 MB / 410.7 MB Notification: Performance of Templates: time 0.04635/0.2689, allocations: 50.31 MB / 495.7 MB, free: 83.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.883212474640459]