Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.001806/0.001806, allocations: 80.34 kB / 20.95 MB, free: 3.457 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.002329/0.002329, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.427/1.427, allocations: 158.6 MB / 186.1 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.3239/0.3239, allocations: 36.35 MB / 274.7 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 179] 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.748e-05, allocations: 5.688 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.05416/0.05418, allocations: 42.32 MB / 395.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.06851, allocations: 8.67 MB / 404 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.06883, allocations: 11.88 kB / 404.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.0696, allocations: 230.4 kB / 404.3 MB, free: 384 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006897/0.07029, allocations: 321.6 kB / 404.6 MB, free: 60 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01312/0.08341, allocations: 4.716 MB / 409.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.08492, allocations: 0.7977 MB / 410.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.08536, allocations: 206.2 kB / 410.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.08599, allocations: 406.9 kB / 410.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.08639, allocations: 247.3 kB / 410.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.08645, allocations: 31.94 kB / 411 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/0.09888, allocations: 5.954 MB / 416.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.09903, allocations: 79.67 kB / 417 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.09936, allocations: 163.6 kB / 417.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009908/0.1093, allocations: 4.704 MB / 421.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1093, allocations: 0 / 421.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1093, allocations: 0 / 421.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1093, allocations: 0 / 421.9 MB, free: 14.73 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.003097/0.1124, allocations: 1.095 MB / 423 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1124, allocations: 8.031 kB / 423 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.1129, allocations: 144.5 kB / 423.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.1135, allocations: 273.6 kB / 423.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.1135, allocations: 29.03 kB / 423.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.1136, allocations: 32.38 kB / 423.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/0.1145, allocations: 422.6 kB / 423.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1145, allocations: 192 / 423.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.1145, allocations: 23.88 kB / 423.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1146, allocations: 8 kB / 423.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.1155, allocations: 282.4 kB / 424.2 MB, free: 12.35 MB / 362.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.002063/0.1176, allocations: 1.357 MB / 425.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.1184, allocations: 250.7 kB / 425.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1186, allocations: 100.8 kB / 425.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1925/0.311, allocations: 16.79 MB / 442.7 MB, free: 92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3111, allocations: 38.19 kB / 442.7 MB, free: 91.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.3111, allocations: 3.844 kB / 442.7 MB, free: 91.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00444/0.3155, allocations: 1.385 MB / 444.1 MB, free: 91.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3156, allocations: 58.97 kB / 444.1 MB, free: 91.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3158, allocations: 264.6 kB / 444.4 MB, free: 91.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3158, allocations: 34.2 kB / 444.4 MB, free: 91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3159, allocations: 215.1 kB / 444.6 MB, free: 90.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.316, allocations: 118.9 kB / 444.8 MB, free: 90.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3161, allocations: 67.97 kB / 444.8 MB, free: 90.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3162, allocations: 342 kB / 445.2 MB, free: 90.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.3164, allocations: 120.1 kB / 445.3 MB, free: 90.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.3167, allocations: 179.8 kB / 445.5 MB, free: 90.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.3172, allocations: 308.1 kB / 445.8 MB, free: 89.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3172, allocations: 0 / 445.8 MB, free: 89.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008535/0.3181, allocations: 462.3 kB / 446.2 MB, free: 89.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3181, allocations: 8 kB / 446.2 MB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3181, allocations: 160 / 446.2 MB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.3186, allocations: 89.64 kB / 446.3 MB, free: 89.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.3189, allocations: 79.89 kB / 446.4 MB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006512/0.3195, allocations: 1.113 MB / 447.5 MB, free: 88.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.3197, allocations: 12.02 kB / 447.5 MB, free: 88.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.3198, allocations: 16 kB / 447.5 MB, free: 88.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000242/0.32, allocations: 220.1 kB / 447.7 MB, free: 87.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001775/0.3202, allocations: 153.1 kB / 447.9 MB, free: 87.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003504/0.3205, allocations: 297.2 kB / 448.2 MB, free: 87.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.3205, allocations: 3.719 kB / 448.2 MB, free: 87.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.000724/0.3213, allocations: 434.5 kB / 448.6 MB, free: 87.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3213, allocations: 12 kB / 448.6 MB, free: 87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.3213, allocations: 0 / 448.6 MB, free: 87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.3217, allocations: 93.56 kB / 448.7 MB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.322, allocations: 75.91 kB / 448.8 MB, free: 86.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005706/0.3225, allocations: 1.124 MB / 449.9 MB, free: 85.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.3227, allocations: 8 kB / 449.9 MB, free: 85.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3227, allocations: 12 kB / 449.9 MB, free: 85.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.3229, allocations: 210.7 kB / 450.1 MB, free: 85.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.3229, allocations: 47.94 kB / 450.2 MB, free: 85.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3243, allocations: 1.202 MB / 451.4 MB, free: 84.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3243, allocations: 15.98 kB / 451.4 MB, free: 84.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3243, allocations: 0 / 451.4 MB, free: 84.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3243, allocations: 0 / 451.4 MB, free: 84.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.3248, allocations: 0.5529 MB / 451.9 MB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3248, allocations: 4 kB / 452 MB, free: 83.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.3251, allocations: 67.91 kB / 452 MB, free: 83.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005925/0.3257, allocations: 137.6 kB / 452.2 MB, free: 83.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3257, allocations: 19.98 kB / 452.2 MB, free: 83.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006286/0.3263, allocations: 1.198 MB / 453.4 MB, free: 82.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3263, allocations: 0 / 453.4 MB, free: 82.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.3277, allocations: 1.253 MB / 454.6 MB, free: 80.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3278, allocations: 70.47 kB / 454.7 MB, free: 80.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.3278, allocations: 12 kB / 454.7 MB, free: 80.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.328, allocations: 8 kB / 454.7 MB, free: 80.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.3281, allocations: 23.95 kB / 454.7 MB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3281, allocations: 14.92 kB / 454.8 MB, free: 80.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3282, allocations: 183.1 kB / 454.9 MB, free: 80.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3282, allocations: 0 / 454.9 MB, free: 80.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002267/0.3305, allocations: 0.939 MB / 455.9 MB, free: 79.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/0.3338, allocations: 1.091 MB / 457 MB, free: 78.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.3352, allocations: 0.6515 MB / 457.6 MB, free: 77.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3352, allocations: 0 / 457.6 MB, free: 77.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.3357, allocations: 373 kB / 458 MB, free: 77.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.3366, allocations: 165.7 kB / 458.1 MB, free: 77.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.338, allocations: 1.192 MB / 459.3 MB, free: 76.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.3382, allocations: 255.4 kB / 459.6 MB, free: 75.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.3385, allocations: 194.8 kB / 459.8 MB, free: 75.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.3385, allocations: 36.5 kB / 459.8 MB, free: 75.77 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3385, allocations: 0 / 459.8 MB, free: 75.77 MB / 362.7 MB Notification: Performance of Templates: time 0.03467/0.3732, allocations: 35.13 MB / 494.9 MB, free: 40.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.446860330994241]