Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001193/0.001193, allocations: 83.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.004457/0.004457, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8767/0.8767, allocations: 158.6 MB / 186.5 MB, free: 3.02 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.1777/0.1777, allocations: 36.34 MB / 275.1 MB, free: 10.89 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.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 415.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.676e-05, allocations: 6.281 kB / 415.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.2011/0.2011, allocations: 38.22 MB / 453.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.2082, allocations: 8.756 MB / 462.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.2084, allocations: 15.28 kB / 462.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.2089, allocations: 214.5 kB / 462.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.2093, allocations: 325.5 kB / 463.1 MB, free: 6.629 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007369/0.2167, allocations: 4.742 MB / 467.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000554/0.2172, allocations: 0.7935 MB / 468.6 MB, free: 3.512 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.2175, allocations: 211.5 kB / 468.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.2178, allocations: 396.6 kB / 469.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.218, allocations: 251.1 kB / 469.5 MB, free: 3.008 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.218, allocations: 29.12 kB / 469.5 MB, free: 3.008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005451/0.2235, allocations: 5.966 MB / 475.5 MB, free: 28 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2236, allocations: 80.27 kB / 475.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2237, allocations: 164.3 kB / 475.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.2281, allocations: 4.737 MB / 480.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2281, allocations: 0 / 480.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.2281, allocations: 4 kB / 480.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2281, allocations: 0 / 480.5 MB, free: 12.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001731/0.2299, allocations: 1.126 MB / 481.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2299, allocations: 8.031 kB / 481.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.2301, allocations: 72.62 kB / 481.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.2305, allocations: 327.8 kB / 482 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2305, allocations: 21.03 kB / 482 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.2305, allocations: 32.38 kB / 482 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.231, allocations: 384.2 kB / 482.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.231, allocations: 384 / 482.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.231, allocations: 19.94 kB / 482.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.231, allocations: 8 kB / 482.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.2314, allocations: 261.3 kB / 482.7 MB, free: 10.05 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.001043/0.2324, allocations: 1.227 MB / 483.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.2327, allocations: 146.4 kB / 484.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.2327, allocations: 68.83 kB / 484.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02684/0.2596, allocations: 16.81 MB / 0.4892 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2596, allocations: 38.5 kB / 0.4892 GB, free: 7.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2596, allocations: 0 / 0.4892 GB, free: 7.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001232/0.2608, allocations: 493.8 kB / 0.4897 GB, free: 7.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2609, allocations: 59.34 kB / 0.4898 GB, free: 7.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2611, allocations: 337.6 kB / 0.4901 GB, free: 6.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2611, allocations: 25.7 kB / 0.4901 GB, free: 6.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.2612, allocations: 228.5 kB / 0.4903 GB, free: 6.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.2613, allocations: 55.53 kB / 0.4904 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.2613, allocations: 45.69 kB / 0.4904 GB, free: 6.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.2614, allocations: 342.8 kB / 0.4907 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2615, allocations: 72.83 kB / 0.4908 GB, free: 5.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2616, allocations: 116.2 kB / 0.4909 GB, free: 5.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.2618, allocations: 176.1 kB / 0.4911 GB, free: 5.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2618, allocations: 0 / 0.4911 GB, free: 5.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003672/0.2622, allocations: 298.1 kB / 0.4914 GB, free: 5.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2622, allocations: 6.969 kB / 0.4914 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2622, allocations: 4 kB / 0.4914 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.2633, allocations: 320.6 kB / 0.4917 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2634, allocations: 59.89 kB / 0.4918 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000485/0.2639, allocations: 0.6537 MB / 0.4924 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.264, allocations: 23.91 kB / 0.4924 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.264, allocations: 8 kB / 0.4924 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001582/0.2642, allocations: 164.1 kB / 0.4926 GB, free: 4.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001058/0.2643, allocations: 116 kB / 0.4927 GB, free: 3.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001837/0.2645, allocations: 183.6 kB / 0.4929 GB, free: 3.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.2645, allocations: 0 / 0.4929 GB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0003961/0.2649, allocations: 301.9 kB / 0.4932 GB, free: 3.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.2649, allocations: 4 kB / 0.4932 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.2649, allocations: 7.938 kB / 0.4932 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.265, allocations: 79.14 kB / 0.4932 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2651, allocations: 59.88 kB / 0.4933 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.2664, allocations: 1.445 MB / 0.4947 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2665, allocations: 15.89 kB / 0.4947 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.2665, allocations: 16.86 kB / 0.4947 GB, free: 1.738 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (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 (14): * Single equations (assignments): 13 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/0.2666, allocations: 188.6 kB / 0.4949 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.2666, allocations: 31.81 kB / 0.4949 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.2673, allocations: 0.9097 MB / 0.4958 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2673, allocations: 15.92 kB / 0.4959 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2673, allocations: 0 / 0.4959 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2674, allocations: 0 / 0.4959 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.2676, allocations: 426.4 kB / 0.4963 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2676, allocations: 0 / 0.4963 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.2677, allocations: 33.22 kB / 0.4963 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006773/0.2684, allocations: 0.5052 MB / 0.4968 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2684, allocations: 11.98 kB / 0.4968 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005919/0.269, allocations: 1.105 MB / 0.4979 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.269, allocations: 0 / 0.4979 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.2695, allocations: 0.7654 MB / 0.4986 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.2696, allocations: 47.53 kB / 0.4987 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.2696, allocations: 11.94 kB / 0.4987 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.2697, allocations: 12 kB / 0.4987 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.2697, allocations: 19.47 kB / 0.4987 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.2697, allocations: 15.98 kB / 0.4987 GB, free: 13.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.2699, allocations: 279.2 kB / 0.499 GB, free: 13.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2699, allocations: 0 / 0.499 GB, free: 13.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001585/0.2715, allocations: 0.9707 MB / 0.4999 GB, free: 12.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00205/0.2735, allocations: 1.075 MB / 0.501 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009955/0.2745, allocations: 490.2 kB / 0.5015 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2745, allocations: 0 / 0.5015 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.2747, allocations: 168.6 kB / 0.5016 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.2752, allocations: 161 kB / 0.5018 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.2761, allocations: 0.883 MB / 0.5026 GB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2762, allocations: 238.4 kB / 0.5029 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.2763, allocations: 28.48 kB / 0.5029 GB, free: 9.215 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2763, allocations: 4 kB / 0.5029 GB, free: 9.211 MB / 410.7 MB Notification: Performance of Templates: time 0.01755/0.2938, allocations: 21.81 MB / 0.5242 GB, free: 3.367 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.409092016518116] Failed to read output from testmodel.py, exit status != 0: 0.29962349962443113 0.30845357399999995 0.078159648 Calling exit ...