Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.0008139/0.0008139, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003374/0.003374, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8204/0.8204, allocations: 158.6 MB / 186.5 MB, free: 3.047 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.1751/0.1751, allocations: 36.35 MB / 275.1 MB, free: 10.91 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 415.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.573e-05, allocations: 2.281 kB / 415.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2086/0.2086, allocations: 40.35 MB / 455.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006414/0.215, allocations: 8.224 MB / 464.2 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.2152, allocations: 14.78 kB / 464.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.2157, allocations: 205 kB / 464.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.216, allocations: 295.2 kB / 464.7 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007743/0.2238, allocations: 5.055 MB / 469.7 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.2244, allocations: 0.8393 MB / 470.6 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.2247, allocations: 215.9 kB / 470.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.2252, allocations: 499.1 kB / 471.3 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2254, allocations: 241 kB / 471.5 MB, free: 1.477 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.2255, allocations: 30.44 kB / 471.5 MB, free: 1.477 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.2312, allocations: 5.898 MB / 477.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.2312, allocations: 80.89 kB / 477.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.2314, allocations: 171.8 kB / 477.7 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.2358, allocations: 4.675 MB / 482.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2358, allocations: 0 / 482.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2358, allocations: 0 / 482.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2358, allocations: 3.938 kB / 482.4 MB, free: 10.48 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001814/0.2377, allocations: 1.126 MB / 483.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2377, allocations: 8.031 kB / 483.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2378, allocations: 72.59 kB / 483.6 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.2382, allocations: 314.4 kB / 483.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.2382, allocations: 25.03 kB / 483.9 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.2383, allocations: 28.38 kB / 483.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.2388, allocations: 431.5 kB / 484.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2388, allocations: 8.312 kB / 484.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2389, allocations: 19.94 kB / 484.4 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2389, allocations: 12 kB / 484.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.2394, allocations: 359.6 kB / 484.7 MB, free: 8.016 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.001287/0.2407, allocations: 1.521 MB / 486.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.2414, allocations: 296.5 kB / 486.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.2416, allocations: 97.66 kB / 486.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02692/0.2685, allocations: 16.86 MB / 0.4917 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2685, allocations: 38.56 kB / 0.4917 GB, free: 5.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 1.804e-06/0.2685, allocations: 0 / 0.4917 GB, free: 5.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009445/0.2694, allocations: 413 kB / 0.4921 GB, free: 4.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2695, allocations: 77.11 kB / 0.4922 GB, free: 4.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2698, allocations: 341.7 kB / 0.4925 GB, free: 4.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2698, allocations: 25.7 kB / 0.4926 GB, free: 4.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2699, allocations: 252.3 kB / 0.4928 GB, free: 3.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.2699, allocations: 55.48 kB / 0.4928 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.27, allocations: 50.06 kB / 0.4929 GB, free: 3.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.2701, allocations: 346.8 kB / 0.4932 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2703, allocations: 104.7 kB / 0.4933 GB, free: 3.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2705, allocations: 163.5 kB / 0.4935 GB, free: 3.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.271, allocations: 259.5 kB / 0.4937 GB, free: 2.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.271, allocations: 3.938 kB / 0.4937 GB, free: 2.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004651/0.2715, allocations: 329.2 kB / 0.494 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2715, allocations: 4 kB / 0.4941 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2715, allocations: 4 kB / 0.4941 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2715, allocations: 0 / 0.4941 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2717, allocations: 67.88 kB / 0.4941 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2717, allocations: 4 kB / 0.4941 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2718, allocations: 43.84 kB / 0.4942 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.2719, allocations: 12.19 kB / 0.4942 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002385/0.2721, allocations: 196.1 kB / 0.4944 GB, free: 2.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001812/0.2723, allocations: 161.3 kB / 0.4945 GB, free: 2.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003333/0.2726, allocations: 249.2 kB / 0.4948 GB, free: 1.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.2726, allocations: 4 kB / 0.4948 GB, free: 1.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004165/0.273, allocations: 313.4 kB / 0.4951 GB, free: 1.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.273, allocations: 4.281 kB / 0.4951 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.273, allocations: 11.94 kB / 0.4951 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.273, allocations: 4 kB / 0.4951 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.2732, allocations: 59.95 kB / 0.4951 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2732, allocations: 7.938 kB / 0.4951 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2733, allocations: 39.8 kB / 0.4952 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.2733, allocations: 12 kB / 0.4952 GB, free: 1.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.255e-05/0.2734, allocations: 200.1 kB / 0.4954 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.2735, allocations: 35.77 kB / 0.4954 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.274, allocations: 464 kB / 0.4959 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.274, allocations: 4 kB / 0.4959 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.274, allocations: 0 / 0.4959 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.274, allocations: 4.172 kB / 0.4959 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.2743, allocations: 333.8 kB / 0.4962 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2743, allocations: 7.875 kB / 0.4962 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2745, allocations: 51.89 kB / 0.4962 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2745, allocations: 4 kB / 0.4962 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2745, allocations: 8 kB / 0.4963 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2745, allocations: 0 / 0.4963 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2745, allocations: 4.875 kB / 0.4963 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.2749, allocations: 450.2 kB / 0.4967 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.275, allocations: 31.7 kB / 0.4967 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.275, allocations: 19.83 kB / 0.4967 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2751, allocations: 23.97 kB / 0.4968 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2752, allocations: 15.97 kB / 0.4968 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2752, allocations: 4 kB / 0.4968 GB, free: 15.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.2754, allocations: 346.9 kB / 0.4971 GB, free: 15.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2754, allocations: 0 / 0.4971 GB, free: 15.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001873/0.2773, allocations: 0.959 MB / 0.498 GB, free: 14.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002143/0.2794, allocations: 1.082 MB / 0.4991 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.2801, allocations: 344.3 kB / 0.4994 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2801, allocations: 0 / 0.4994 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.2802, allocations: 104 kB / 0.4995 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.2808, allocations: 176.5 kB / 0.4997 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2819, allocations: 0.7781 MB / 0.5005 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2822, allocations: 225.1 kB / 0.5007 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.2822, allocations: 40.48 kB / 0.5007 GB, free: 11.57 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2822, allocations: 4 kB / 0.5007 GB, free: 11.56 MB / 410.7 MB Notification: Performance of Templates: time 0.01868/0.3009, allocations: 19.71 MB / 0.52 GB, free: 7.82 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.718649483285844] Failed to read output from testmodel.py, exit status != 0: 0.3070049388334155 0.314860219 0.077345757 Calling exit ...