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.001918/0.001918, allocations: 83.69 kB / 20.96 MB, free: 3.316 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.00205/0.00205, allocations: 157.3 kB / 24.27 MB, free: 8 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.339/1.339, allocations: 158.6 MB / 186.1 MB, free: 2.883 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.2873/0.2873, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.302e-06/1.302e-06, allocations: 0 / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.958e-05, allocations: 5.688 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.0622/0.06223, allocations: 47.5 MB / 400.6 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.07762, allocations: 9.616 MB / 410.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.07802, allocations: 7.938 kB / 410.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.07888, allocations: 234.3 kB / 410.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008416/0.07972, allocations: 329.6 kB / 410.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01371/0.09343, allocations: 4.708 MB / 415.5 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.0947, allocations: 0.8015 MB / 416.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.09513, allocations: 206.2 kB / 416.5 MB, free: 4.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.09574, allocations: 414.9 kB / 416.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.09617, allocations: 243.3 kB / 417.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.058e-05/0.09623, allocations: 28 kB / 417.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.1091, allocations: 5.95 MB / 423.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1092, allocations: 83.59 kB / 423.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.1096, allocations: 159.7 kB / 423.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.1211, allocations: 4.712 MB / 428 MB, free: 8.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1211, allocations: 0 / 428 MB, free: 8.566 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1211, allocations: 0 / 428 MB, free: 8.566 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1211, allocations: 0 / 428 MB, free: 8.566 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.003349/0.1244, allocations: 1.214 MB / 429.2 MB, free: 7.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1245, allocations: 8.031 kB / 429.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005231/0.125, allocations: 144.5 kB / 429.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.1255, allocations: 280.4 kB / 429.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.1255, allocations: 21.03 kB / 429.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.1256, allocations: 36.38 kB / 429.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/0.1265, allocations: 457.2 kB / 430.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1266, allocations: 192 / 430.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.1266, allocations: 15.94 kB / 430.2 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1266, allocations: 8 kB / 430.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.1273, allocations: 278.3 kB / 430.5 MB, free: 6.023 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.002643/0.1299, allocations: 1.802 MB / 432.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.1307, allocations: 243.3 kB / 432.5 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.1309, allocations: 95.59 kB / 432.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1961/0.327, allocations: 16.79 MB / 449.4 MB, free: 86.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.327, allocations: 41.14 kB / 449.4 MB, free: 86.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.327, allocations: 4 kB / 449.4 MB, free: 86.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003633/0.3306, allocations: 1.298 MB / 450.7 MB, free: 84.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.3306, allocations: 57.84 kB / 450.8 MB, free: 84.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3309, allocations: 353.4 kB / 451.1 MB, free: 84.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3309, allocations: 33.7 kB / 451.2 MB, free: 84.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.331, allocations: 273.5 kB / 451.4 MB, free: 84.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.3311, allocations: 135.2 kB / 451.6 MB, free: 84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.705e-05/0.3312, allocations: 83.36 kB / 451.6 MB, free: 83.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.3313, allocations: 0.5313 MB / 452.2 MB, free: 83.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3314, allocations: 123.4 kB / 452.3 MB, free: 83.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3316, allocations: 190.8 kB / 452.5 MB, free: 83.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.332, allocations: 326.5 kB / 452.8 MB, free: 82.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3321, allocations: 4 kB / 452.8 MB, free: 82.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007818/0.3328, allocations: 460.2 kB / 453.3 MB, free: 82.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3328, allocations: 8 kB / 453.3 MB, free: 82.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3329, allocations: 0 / 453.3 MB, free: 82.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.3333, allocations: 91.3 kB / 453.3 MB, free: 82.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3336, allocations: 84.05 kB / 453.4 MB, free: 82.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/0.3343, allocations: 1.655 MB / 455.1 MB, free: 80.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3345, allocations: 8 kB / 455.1 MB, free: 80.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3345, allocations: 19.98 kB / 455.1 MB, free: 80.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002463/0.3348, allocations: 254.8 kB / 455.4 MB, free: 80.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001782/0.335, allocations: 182 kB / 455.5 MB, free: 79.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003296/0.3353, allocations: 313.8 kB / 455.8 MB, free: 79.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.3353, allocations: 4 kB / 455.8 MB, free: 79.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006958/0.336, allocations: 439.9 kB / 456.3 MB, free: 79.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.336, allocations: 8 kB / 456.3 MB, free: 79.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.336, allocations: 0 / 456.3 MB, free: 79.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.3364, allocations: 103.4 kB / 456.4 MB, free: 78.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.3367, allocations: 79.89 kB / 456.5 MB, free: 78.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005974/0.3373, allocations: 1.658 MB / 458.1 MB, free: 77.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.3375, allocations: 8 kB / 458.1 MB, free: 77.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3375, allocations: 12 kB / 458.1 MB, free: 77.11 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.0001056/0.3376, allocations: 291 kB / 458.4 MB, free: 76.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.3377, allocations: 47.73 kB / 458.5 MB, free: 76.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.3388, allocations: 0.825 MB / 459.3 MB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.3388, allocations: 15.98 kB / 459.3 MB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3388, allocations: 0 / 459.3 MB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3388, allocations: 7.938 kB / 459.3 MB, free: 75.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.3393, allocations: 0.5009 MB / 459.8 MB, free: 75.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3393, allocations: 0 / 459.8 MB, free: 75.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.3395, allocations: 63.91 kB / 459.9 MB, free: 75.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/0.3401, allocations: 115.2 kB / 460 MB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3401, allocations: 8 kB / 460 MB, free: 75.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006089/0.3407, allocations: 1.655 MB / 461.7 MB, free: 73.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3407, allocations: 0 / 461.7 MB, free: 73.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3418, allocations: 0.9623 MB / 462.6 MB, free: 72.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.342, allocations: 79.52 kB / 462.7 MB, free: 72.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.342, allocations: 7.984 kB / 462.7 MB, free: 72.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3422, allocations: 8 kB / 462.7 MB, free: 72.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.3423, allocations: 27.7 kB / 462.7 MB, free: 72.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3423, allocations: 12 kB / 462.8 MB, free: 72.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3424, allocations: 239 kB / 463 MB, free: 72.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3424, allocations: 0 / 463 MB, free: 72.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002361/0.3448, allocations: 0.936 MB / 463.9 MB, free: 71.2 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.003782/0.3486, allocations: 1.093 MB / 465 MB, free: 70.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.35, allocations: 0.5992 MB / 465.6 MB, free: 69.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.35, allocations: 0.625 kB / 465.6 MB, free: 69.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.3504, allocations: 280.6 kB / 465.9 MB, free: 69.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3514, allocations: 169.3 kB / 466.1 MB, free: 69.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3529, allocations: 1.109 MB / 467.2 MB, free: 68.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.353, allocations: 255.4 kB / 467.4 MB, free: 67.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.3533, allocations: 190.2 kB / 467.6 MB, free: 67.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.3534, allocations: 36.5 kB / 467.6 MB, free: 67.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3534, allocations: 0 / 467.6 MB, free: 67.54 MB / 362.7 MB Notification: Performance of Templates: time 0.03993/0.3933, allocations: 35.82 MB / 0.4917 GB, free: 31.71 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.485685618012212]