Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.0008008/0.0008008, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0008887/0.0008887, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8826/0.8826, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09716/0.09716, allocations: 19.74 MB / 281.5 MB, free: 9.336 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 357.9 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.56e-05, allocations: 6.25 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02891/0.02892, allocations: 43.46 MB / 401.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008617/0.03754, allocations: 9.971 MB / 411.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.03782, allocations: 19.81 kB / 411.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.03837, allocations: 226.3 kB / 411.6 MB, free: 1.082 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.03884, allocations: 345.4 kB / 412 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1313/0.1701, allocations: 4.94 MB / 416.9 MB, free: 17.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.171, allocations: 0.9358 MB / 417.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.1712, allocations: 234.9 kB / 418.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.1716, allocations: 452.1 kB / 418.5 MB, free: 17.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.1719, allocations: 275.4 kB / 418.8 MB, free: 17.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.1719, allocations: 34.09 kB / 418.8 MB, free: 17.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/0.1789, allocations: 5.981 MB / 424.8 MB, free: 17.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.1789, allocations: 104.5 kB / 424.9 MB, free: 17.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.179, allocations: 181.4 kB / 425.1 MB, free: 17.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.183, allocations: 4.716 MB / 429.8 MB, free: 16.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.183, allocations: 0 / 429.8 MB, free: 16.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.183, allocations: 0 / 429.8 MB, free: 16.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.183, allocations: 0 / 429.8 MB, free: 16.71 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001957/0.185, allocations: 1.372 MB / 431.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.185, allocations: 14.44 kB / 431.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.1853, allocations: 140.6 kB / 431.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1856, allocations: 383 kB / 431.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.588e-05/0.1857, allocations: 204.2 kB / 431.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1857, allocations: 37.62 kB / 431.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.1863, allocations: 424.6 kB / 432.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1863, allocations: 0 / 432.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1864, allocations: 17.84 kB / 432.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1864, allocations: 8.844 kB / 432.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1869, allocations: 317.2 kB / 432.7 MB, free: 15.05 MB / 330.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.001034/0.1879, allocations: 1.15 MB / 433.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.1884, allocations: 241.4 kB / 434 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.1885, allocations: 72 kB / 434.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1885, allocations: 7 kB / 434.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.1885, allocations: 36.14 kB / 434.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.1885, allocations: 7.188 kB / 434.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001518/0.19, allocations: 0.6031 MB / 434.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.1901, allocations: 58.56 kB / 434.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1903, allocations: 391.4 kB / 435.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1903, allocations: 30.45 kB / 435.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.1904, allocations: 291 kB / 435.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1904, allocations: 79.44 kB / 435.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.1905, allocations: 59.78 kB / 435.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.1905, allocations: 0.5211 MB / 436.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.1906, allocations: 52.84 kB / 436.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.1907, allocations: 49.17 kB / 436.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1909, allocations: 113.5 kB / 436.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1909, allocations: 0 / 436.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003796/0.1912, allocations: 263.4 kB / 436.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1913, allocations: 10.47 kB / 436.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1913, allocations: 0 / 436.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.1924, allocations: 337.2 kB / 437 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1925, allocations: 68.56 kB / 437.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004205/0.1929, allocations: 0.8981 MB / 438 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.193, allocations: 21.45 kB / 438 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1931, allocations: 13.73 kB / 438 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001129/0.1932, allocations: 167.7 kB / 438.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.679e-05/0.1933, allocations: 85.86 kB / 438.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001414/0.1934, allocations: 118.2 kB / 438.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.1934, allocations: 0 / 438.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0003822/0.1938, allocations: 267.9 kB / 438.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.1938, allocations: 5.969 kB / 438.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.1938, allocations: 2.188 kB / 438.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.194, allocations: 82.22 kB / 438.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1941, allocations: 67.14 kB / 438.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.1948, allocations: 1.856 MB / 440.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1949, allocations: 20.47 kB / 440.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1949, allocations: 9.344 kB / 440.7 MB, free: 9.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.195, allocations: 277.7 kB / 440.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.1951, allocations: 53.72 kB / 441 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.1954, allocations: 301.4 kB / 441.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1954, allocations: 4.281 kB / 441.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1954, allocations: 1.453 kB / 441.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1954, allocations: 0 / 441.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1957, allocations: 302.1 kB / 441.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1957, allocations: 3.969 kB / 441.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.1957, allocations: 33.09 kB / 441.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/0.1963, allocations: 226.1 kB / 441.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1963, allocations: 8.812 kB / 441.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002967/0.1966, allocations: 0.9063 MB / 442.7 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1966, allocations: 0 / 442.7 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1969, allocations: 436.3 kB / 443.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.197, allocations: 41.03 kB / 443.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.197, allocations: 5.125 kB / 443.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.1971, allocations: 15.45 kB / 443.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1972, allocations: 29.64 kB / 443.3 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1972, allocations: 11.58 kB / 443.3 MB, free: 7.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1973, allocations: 268 kB / 443.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1973, allocations: 0 / 443.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001459/0.1987, allocations: 1.001 MB / 444.5 MB, free: 7.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002068/0.2008, allocations: 1.097 MB / 445.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007132/0.2015, allocations: 461.8 kB / 446.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2015, allocations: 0 / 446.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.2017, allocations: 115.4 kB / 446.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.2023, allocations: 234 kB / 446.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2035, allocations: 0.7585 MB / 447.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.2035, allocations: 107.8 kB / 447.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003317/0.2039, allocations: 416.2 kB / 447.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.2039, allocations: 37.67 kB / 447.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2039, allocations: 0 / 447.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of Templates: time 0.03144/0.2354, allocations: 37.03 MB / 484.8 MB, free: 2.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.108153102919459]