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.001495/0.001495, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001506/0.001506, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.308/1.308, allocations: 158.6 MB / 185.7 MB, free: 6.43 MB / 174.1 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.2773/0.2773, allocations: 36.34 MB / 274.3 MB, free: 0.6484 MB / 254.1 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.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.272e-06/1.272e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.353e-05, allocations: 2.281 kB / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.07287/0.0729, allocations: 42.31 MB / 457.2 MB, free: 1.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.09278, allocations: 8.689 MB / 465.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.09324, allocations: 11.94 kB / 465.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.09438, allocations: 230.3 kB / 466.1 MB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.09551, allocations: 313.7 kB / 466.4 MB, free: 7.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01819/0.1137, allocations: 4.716 MB / 471.1 MB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.1153, allocations: 0.8133 MB / 471.9 MB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005895/0.1158, allocations: 198.1 kB / 472.1 MB, free: 2.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.1168, allocations: 406.9 kB / 472.5 MB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.1175, allocations: 247.3 kB / 472.7 MB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.1175, allocations: 35.94 kB / 472.8 MB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1966/0.3142, allocations: 5.922 MB / 478.7 MB, free: 19.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3143, allocations: 83.11 kB / 478.8 MB, free: 19.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.3146, allocations: 163.1 kB / 478.9 MB, free: 19.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007968/0.3226, allocations: 4.704 MB / 483.6 MB, free: 19.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3226, allocations: 1.375 kB / 483.6 MB, free: 19.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3226, allocations: 0.7188 kB / 483.7 MB, free: 19.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3226, allocations: 0 / 483.7 MB, free: 19.2 MB / 398.1 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.00311/0.3257, allocations: 1.088 MB / 484.7 MB, free: 18.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3257, allocations: 9.844 kB / 484.7 MB, free: 18.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.3262, allocations: 94.38 kB / 484.8 MB, free: 18.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.3266, allocations: 270.1 kB / 485.1 MB, free: 18.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3267, allocations: 23.16 kB / 485.1 MB, free: 18.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.3267, allocations: 38.75 kB / 485.2 MB, free: 18.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.3275, allocations: 419 kB / 485.6 MB, free: 18.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3275, allocations: 5.219 kB / 485.6 MB, free: 18.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.3276, allocations: 20.38 kB / 485.6 MB, free: 18.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3276, allocations: 9.562 kB / 485.6 MB, free: 18.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.3282, allocations: 283.8 kB / 485.9 MB, free: 18.3 MB / 398.1 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.001497/0.3297, allocations: 1.344 MB / 487.2 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.3304, allocations: 255.7 kB / 487.5 MB, free: 17.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3306, allocations: 99.48 kB / 487.6 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05641/0.387, allocations: 16.81 MB / 0.4926 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.387, allocations: 38.91 kB / 0.4926 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.387, allocations: 0 / 0.4926 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004574/0.3916, allocations: 1.365 MB / 0.4939 GB, free: 13.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.3916, allocations: 55.12 kB / 0.494 GB, free: 13.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3918, allocations: 261.8 kB / 0.4942 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3919, allocations: 32.95 kB / 0.4943 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3919, allocations: 215.9 kB / 0.4945 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.392, allocations: 127.2 kB / 0.4946 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.3921, allocations: 70.34 kB / 0.4947 GB, free: 12.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.3922, allocations: 337.3 kB / 0.495 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3924, allocations: 121.8 kB / 0.4951 GB, free: 12.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3926, allocations: 176.6 kB / 0.4953 GB, free: 12.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.3931, allocations: 309.8 kB / 0.4956 GB, free: 12.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3931, allocations: 2.625 kB / 0.4956 GB, free: 12.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008853/0.394, allocations: 440.3 kB / 0.496 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.394, allocations: 5.25 kB / 0.496 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.394, allocations: 7.156 kB / 0.496 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.3945, allocations: 94.91 kB / 0.4961 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.3948, allocations: 74.22 kB / 0.4962 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006134/0.3954, allocations: 1.119 MB / 0.4973 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.3957, allocations: 11.19 kB / 0.4973 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3957, allocations: 12.78 kB / 0.4973 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002579/0.396, allocations: 215.8 kB / 0.4975 GB, free: 11.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001974/0.3962, allocations: 164.7 kB / 0.4976 GB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003759/0.3965, allocations: 285.8 kB / 0.4979 GB, free: 10.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.3965, allocations: 1.797 kB / 0.4979 GB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007786/0.3973, allocations: 421.1 kB / 0.4983 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.3973, allocations: 8.156 kB / 0.4983 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.3973, allocations: 0 / 0.4983 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.3978, allocations: 97.91 kB / 0.4984 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.3981, allocations: 75.75 kB / 0.4985 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000561/0.3986, allocations: 1.112 MB / 0.4996 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3989, allocations: 18.08 kB / 0.4996 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3989, allocations: 14.38 kB / 0.4996 GB, free: 9.117 MB / 398.1 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.0001003/0.399, allocations: 200.9 kB / 0.4998 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.399, allocations: 32 kB / 0.4998 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4004, allocations: 1.214 MB / 0.501 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4004, allocations: 18.53 kB / 0.501 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4005, allocations: 0 / 0.501 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4005, allocations: 3.984 kB / 0.501 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.401, allocations: 0.5468 MB / 0.5016 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.401, allocations: 4 kB / 0.5016 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.4013, allocations: 63.72 kB / 0.5016 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/0.4019, allocations: 147.5 kB / 0.5018 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.402, allocations: 13 kB / 0.5018 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006079/0.4026, allocations: 1.195 MB / 0.503 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4026, allocations: 4.469 kB / 0.503 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.4039, allocations: 1.24 MB / 0.5042 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.4041, allocations: 79.67 kB / 0.5042 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.4041, allocations: 10.31 kB / 0.5043 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.4043, allocations: 11.06 kB / 0.5043 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.4044, allocations: 28.69 kB / 0.5043 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.4044, allocations: 8.688 kB / 0.5043 GB, free: 5.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4046, allocations: 186 kB / 0.5045 GB, free: 5.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4046, allocations: 4 kB / 0.5045 GB, free: 5.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003255/0.4078, allocations: 0.9293 MB / 0.5054 GB, free: 4.332 MB / 398.1 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.005425/0.4132, allocations: 1.091 MB / 0.5065 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.4146, allocations: 0.6488 MB / 0.5071 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4146, allocations: 0 / 0.5071 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.4152, allocations: 367.9 kB / 0.5074 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009428/0.4161, allocations: 164.4 kB / 0.5076 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4177, allocations: 1.179 MB / 0.5087 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.4178, allocations: 253.2 kB / 0.509 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.4181, allocations: 192 kB / 0.5092 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.4182, allocations: 39.92 kB / 0.5092 GB, free: 1.066 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4182, allocations: 0 / 0.5092 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Templates: time 0.05347/0.4717, allocations: 34.96 MB / 0.5433 GB, free: 14.21 MB / 446.1 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.304454680532217] Failed to read output from testmodel.py, exit status != 0: 0.48164886608719826 0.496131786 0.17021389 Calling exit ...