Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.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.001367/0.001367, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001618/0.001618, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.8991/0.8991, allocations: 177.2 MB / 205 MB, free: 5.301 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.08834/0.08834, allocations: 19.73 MB / 281.2 MB, free: 9.113 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.055e-05, allocations: 2.312 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02078/0.0208, allocations: 29.48 MB / 387.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008751/0.02955, allocations: 9.107 MB / 396.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.03007, allocations: 31.69 kB / 396.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.03067, allocations: 249.9 kB / 396.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008644/0.03153, allocations: 0.601 MB / 397.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00968/0.04121, allocations: 5.494 MB / 402.9 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.04295, allocations: 1.671 MB / 404.6 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.04362, allocations: 0.4963 MB / 405.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.04449, allocations: 0.8067 MB / 405.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/0.0482, allocations: 0.518 MB / 406.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.04837, allocations: 64 kB / 406.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.05975, allocations: 5.876 MB / 412.4 MB, free: 0 / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1154/0.1752, allocations: 181.3 kB / 412.5 MB, free: 25.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.1757, allocations: 354.3 kB / 412.9 MB, free: 25.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.1831, allocations: 4.907 MB / 417.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1831, allocations: 2.938 kB / 417.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1831, allocations: 2.078 kB / 417.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1831, allocations: 0 / 417.8 MB, free: 25.11 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003055/0.1862, allocations: 1.805 MB / 419.6 MB, free: 24.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1862, allocations: 9.375 kB / 419.6 MB, free: 24.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.1866, allocations: 251.9 kB / 419.9 MB, free: 24.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.1871, allocations: 0.5701 MB / 420.4 MB, free: 23.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1872, allocations: 344.6 kB / 420.8 MB, free: 23.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.1873, allocations: 56.66 kB / 420.8 MB, free: 23.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/0.1883, allocations: 0.7615 MB / 421.6 MB, free: 23.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1883, allocations: 3.766 kB / 421.6 MB, free: 23.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.1883, allocations: 25.78 kB / 421.6 MB, free: 23.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1884, allocations: 14.16 kB / 421.6 MB, free: 23.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.1892, allocations: 0.5826 MB / 422.2 MB, free: 23.45 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.001772/0.191, allocations: 2.185 MB / 424.4 MB, free: 22.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.1917, allocations: 384.6 kB / 424.8 MB, free: 22.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.1919, allocations: 151.6 kB / 424.9 MB, free: 22.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.1919, allocations: 12 kB / 424.9 MB, free: 22.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.1919, allocations: 40.73 kB / 425 MB, free: 22.31 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000268/0.1922, allocations: 105.9 kB / 425.1 MB, free: 22.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.943e-06/0.1922, allocations: 0 / 425.1 MB, free: 22.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.004051/0.1963, allocations: 1.679 MB / 426.8 MB, free: 22.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.1963, allocations: 61.28 kB / 426.8 MB, free: 22.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.1966, allocations: 0.5477 MB / 427.4 MB, free: 21.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1966, allocations: 36.55 kB / 427.4 MB, free: 21.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1967, allocations: 434.1 kB / 427.8 MB, free: 21.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.1968, allocations: 165.4 kB / 428 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.1969, allocations: 100.6 kB / 428.1 MB, free: 21.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.197, allocations: 0.5463 MB / 428.6 MB, free: 21.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1971, allocations: 108.4 kB / 428.7 MB, free: 21.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1973, allocations: 100.6 kB / 428.8 MB, free: 21.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.1976, allocations: 242.9 kB / 429.1 MB, free: 20.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1976, allocations: 0 / 429.1 MB, free: 20.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006694/0.1983, allocations: 0.4958 MB / 429.6 MB, free: 20.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1983, allocations: 10.44 kB / 429.6 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1983, allocations: 3.281 kB / 429.6 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/0.2013, allocations: 1.04 MB / 430.6 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2014, allocations: 56.48 kB / 430.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/0.2023, allocations: 1.12 MB / 431.8 MB, free: 20.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2025, allocations: 20.8 kB / 431.8 MB, free: 20.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.2025, allocations: 21.41 kB / 431.8 MB, free: 20.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001989/0.2027, allocations: 221.5 kB / 432.1 MB, free: 19.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001526/0.2029, allocations: 141.4 kB / 432.2 MB, free: 19.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002694/0.2031, allocations: 228.5 kB / 432.4 MB, free: 19.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2031, allocations: 0 / 432.4 MB, free: 19.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0005437/0.2037, allocations: 448.6 kB / 432.9 MB, free: 19.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.2037, allocations: 3.188 kB / 432.9 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.2037, allocations: 0 / 432.9 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.2039, allocations: 72.97 kB / 432.9 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2041, allocations: 99.62 kB / 433 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/0.2047, allocations: 1.852 MB / 434.9 MB, free: 17.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2049, allocations: 18.94 kB / 434.9 MB, free: 17.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.2049, allocations: 21.38 kB / 434.9 MB, free: 17.96 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: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (28): * Single equations (assignments): 27 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 9.637e-05/0.205, allocations: 285.2 kB / 435.2 MB, free: 17.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.2051, allocations: 96 kB / 435.3 MB, free: 17.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/0.2059, allocations: 0.6178 MB / 435.9 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2059, allocations: 6.844 kB / 435.9 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2059, allocations: 0 / 435.9 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2059, allocations: 3.891 kB / 435.9 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.2073, allocations: 1.285 MB / 437.2 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2073, allocations: 3.312 kB / 437.2 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2074, allocations: 57.42 kB / 437.3 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009954/0.2084, allocations: 490.9 kB / 437.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.2084, allocations: 19.58 kB / 437.8 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006441/0.2091, allocations: 1.179 MB / 438.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2091, allocations: 5.953 kB / 438.9 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.2097, allocations: 0.7412 MB / 439.7 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.2098, allocations: 76.98 kB / 439.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.2098, allocations: 15.16 kB / 439.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.21, allocations: 19.61 kB / 439.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.2101, allocations: 68.22 kB / 439.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.2101, allocations: 25.91 kB / 439.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.2103, allocations: 374.1 kB / 440.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2103, allocations: 0 / 440.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002996/0.2133, allocations: 1.181 MB / 441.4 MB, free: 15.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (V2.fluidState.phase,V3.fluidState.phase,V5.fluidState.phase,V4.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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 {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/0.2154, allocations: 1.099 MB / 442.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2165, allocations: 0.7183 MB / 443.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2165, allocations: 0 / 443.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.2168, allocations: 305 kB / 443.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.2179, allocations: 452.3 kB / 444 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2194, allocations: 1.295 MB / 445.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.582e-05/0.2195, allocations: 156.3 kB / 445.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004775/0.2199, allocations: 0.6675 MB / 446.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.22, allocations: 49.56 kB / 446.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.22, allocations: 0 / 446.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Templates: time 0.0414/0.2614, allocations: 51.07 MB / 497.2 MB, free: 13.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.210020508151501]