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.001364/0.001364, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001015/0.001015, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.8095/0.8095, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1786/0.1786, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.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.352e-06/1.352e-06, allocations: 0 / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.736e-05, allocations: 2.312 kB / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.03727/0.0373, allocations: 19.73 MB / 324.9 MB, free: 152 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008111/0.04541, allocations: 8.271 MB / 333.2 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.04575, allocations: 15.88 kB / 333.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.0462, allocations: 123 kB / 333.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.04674, allocations: 321.7 kB / 333.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.05817, allocations: 4.53 MB / 338.2 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.05922, allocations: 0.8093 MB / 339 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.0596, allocations: 214.1 kB / 339.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.06009, allocations: 407 kB / 339.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.06039, allocations: 235.3 kB / 339.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.06043, allocations: 28 kB / 339.8 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008633/0.06906, allocations: 5.797 MB / 345.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.06916, allocations: 75.67 kB / 345.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.0694, allocations: 167.6 kB / 345.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.07798, allocations: 4.455 MB / 350.3 MB, free: 6.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.07798, allocations: 3.938 kB / 350.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.07799, allocations: 0 / 350.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.07799, allocations: 0 / 350.3 MB, free: 6.879 MB / 314.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.002414/0.08041, allocations: 1.047 MB / 351.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.08044, allocations: 8.031 kB / 351.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.08077, allocations: 132.8 kB / 351.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.0811, allocations: 249.6 kB / 351.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.08112, allocations: 25.03 kB / 351.8 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.08116, allocations: 32.36 kB / 351.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.0816, allocations: 363.2 kB / 352.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.08161, allocations: 192 / 352.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.08163, allocations: 15.94 kB / 352.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.08164, allocations: 12 kB / 352.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.08188, allocations: 152.3 kB / 352.3 MB, free: 4.777 MB / 314.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.001031/0.08291, allocations: 1.166 MB / 353.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.08324, allocations: 171.5 kB / 353.7 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.08329, allocations: 40.84 kB / 353.7 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1021/0.1854, allocations: 58.26 MB / 412 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1854, allocations: 34.5 kB / 412 MB, free: 8.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.1854, allocations: 0 / 412 MB, free: 8.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002037/0.1875, allocations: 1.011 MB / 413 MB, free: 7.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.1875, allocations: 55.41 kB / 413.1 MB, free: 7.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1876, allocations: 255 kB / 413.3 MB, free: 7.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1877, allocations: 29.7 kB / 413.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.188, allocations: 181.1 kB / 413.5 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1881, allocations: 130.8 kB / 413.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.1881, allocations: 69.59 kB / 413.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.1882, allocations: 342.8 kB / 414.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.1883, allocations: 52.77 kB / 414.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.1884, allocations: 104.6 kB / 414.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1885, allocations: 160.7 kB / 414.4 MB, free: 6.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1885, allocations: 4 kB / 414.4 MB, free: 6.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003054/0.1888, allocations: 254.5 kB / 414.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1888, allocations: 4 kB / 414.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1888, allocations: 4 kB / 414.6 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.189, allocations: 73.78 kB / 414.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.1892, allocations: 75.91 kB / 414.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000415/0.1896, allocations: 1.058 MB / 415.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1897, allocations: 11.98 kB / 415.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1897, allocations: 8 kB / 415.9 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001061/0.1899, allocations: 136 kB / 416 MB, free: 4.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.607e-05/0.1899, allocations: 85.09 kB / 416.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001321/0.1901, allocations: 160.7 kB / 416.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.1901, allocations: 0 / 416.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0002733/0.1903, allocations: 250.9 kB / 416.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.1903, allocations: 10.81 kB / 416.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.1903, allocations: 0 / 416.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.1905, allocations: 73.73 kB / 416.6 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1907, allocations: 75.89 kB / 416.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003659/0.191, allocations: 1.062 MB / 417.7 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.1911, allocations: 8 kB / 417.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1911, allocations: 12.12 kB / 417.7 MB, free: 2.973 MB / 378.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 (Tank1.liquidState.phase,Tank2.liquidState.phase,Valve.fluidState.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 9.352e-05/0.1912, allocations: 196.2 kB / 417.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1912, allocations: 35.91 kB / 417.9 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.1919, allocations: 0.6776 MB / 418.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1919, allocations: 7.984 kB / 418.6 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1919, allocations: 4 kB / 418.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1919, allocations: 3.984 kB / 418.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.1922, allocations: 353.9 kB / 419 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1922, allocations: 3.938 kB / 419 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1924, allocations: 67.83 kB / 419.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/0.1926, allocations: 99.2 kB / 419.1 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1926, allocations: 8 kB / 419.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003752/0.193, allocations: 1.066 MB / 420.2 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.193, allocations: 128 / 420.2 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008109/0.1938, allocations: 0.6668 MB / 420.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.1939, allocations: 67.47 kB / 421 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1939, allocations: 4 kB / 421 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.194, allocations: 11.98 kB / 421 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.194, allocations: 23.95 kB / 421 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1941, allocations: 4 kB / 421 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.267e-05/0.1941, allocations: 100.6 kB / 421.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1941, allocations: 0 / 421.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001873/0.196, allocations: 0.936 MB / 422 MB, free: 14.51 MB / 394.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.00247/0.1985, allocations: 1.129 MB / 423.2 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.199, allocations: 394 kB / 423.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.1991, allocations: 8 kB / 423.6 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.1993, allocations: 203.2 kB / 423.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1998, allocations: 172.1 kB / 423.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2011, allocations: 1.021 MB / 424.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.248e-05/0.2012, allocations: 122.9 kB / 425.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.2014, allocations: 193.3 kB / 425.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.2017, allocations: 145.3 kB / 425.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2017, allocations: 0 / 425.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of Templates: time 0.03915/0.2408, allocations: 39.41 MB / 464.8 MB, free: 3.652 MB / 426.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: 4.642370797693729]