Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.00151/0.00151, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001032/0.001032, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.9875/0.9875, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.2037/0.2037, allocations: 36.34 MB / 275.4 MB, free: 10.55 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.72e-05/3.923e-05, allocations: 2.312 kB / 305.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02754/0.02758, allocations: 28.67 MB / 333.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009781/0.03736, allocations: 8.712 MB / 342.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.03791, allocations: 27.69 kB / 342.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.03848, allocations: 234.1 kB / 342.9 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008708/0.03935, allocations: 0.539 MB / 343.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.05369, allocations: 4.754 MB / 348.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.05563, allocations: 1.442 MB / 349.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.05641, allocations: 0.5044 MB / 350.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.05741, allocations: 0.7404 MB / 350.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.05812, allocations: 498.6 kB / 351.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.05821, allocations: 64 kB / 351.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009765/0.06798, allocations: 6.282 MB / 357.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.06818, allocations: 171.2 kB / 357.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.06867, allocations: 319.3 kB / 358.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009652/0.07832, allocations: 4.848 MB / 363 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.07832, allocations: 0 / 363 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07832, allocations: 0 / 363 MB, free: 10.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.07833, allocations: 0 / 363 MB, free: 10.1 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003243/0.08158, allocations: 1.49 MB / 364.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.08162, allocations: 12.03 kB / 364.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.082, allocations: 180.7 kB / 364.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.0828, allocations: 457.2 kB / 365.1 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.08283, allocations: 37.69 kB / 365.2 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.08288, allocations: 48.38 kB / 365.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.08374, allocations: 0.7024 MB / 365.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.08376, allocations: 192 / 365.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.0838, allocations: 27.81 kB / 365.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.08382, allocations: 16 kB / 366 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.08447, allocations: 450.5 kB / 366.4 MB, free: 6.613 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.00165/0.08612, allocations: 1.778 MB / 368.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.08656, allocations: 226.4 kB / 368.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.08665, allocations: 72.81 kB / 368.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/0.1941, allocations: 58.26 MB / 426.7 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.1941, allocations: 34.56 kB / 426.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004808/0.1946, allocations: 103.7 kB / 426.9 MB, free: 10 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.444e-06/0.1946, allocations: 0 / 426.9 MB, free: 10 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.003462/0.1981, allocations: 1.247 MB / 428.1 MB, free: 8.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1981, allocations: 59.39 kB / 428.2 MB, free: 8.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1985, allocations: 463.1 kB / 428.6 MB, free: 8.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1985, allocations: 29.7 kB / 428.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1986, allocations: 285.4 kB / 428.9 MB, free: 7.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.1987, allocations: 115 kB / 429 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.1988, allocations: 73.91 kB / 429.1 MB, free: 7.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1989, allocations: 378.6 kB / 429.5 MB, free: 7.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.199, allocations: 50.12 kB / 429.5 MB, free: 7.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1991, allocations: 90.41 kB / 429.6 MB, free: 7.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.1993, allocations: 184.8 kB / 429.8 MB, free: 6.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1993, allocations: 4 kB / 429.8 MB, free: 6.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007615/0.2001, allocations: 293.9 kB / 430.1 MB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2001, allocations: 8 kB / 430.1 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2001, allocations: 0 / 430.1 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/0.2031, allocations: 0.9688 MB / 431.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2032, allocations: 43.91 kB / 431.1 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/0.204, allocations: 0.7627 MB / 431.9 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.2042, allocations: 19.98 kB / 431.9 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.2043, allocations: 19.92 kB / 431.9 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001577/0.2044, allocations: 120.8 kB / 432 MB, free: 4.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001042/0.2045, allocations: 128.1 kB / 432.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001905/0.2047, allocations: 188.6 kB / 432.3 MB, free: 4.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.2047, allocations: 0 / 432.3 MB, free: 4.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003487/0.2051, allocations: 278.1 kB / 432.6 MB, free: 4.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2051, allocations: 6.812 kB / 432.6 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2051, allocations: 4 kB / 432.6 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.2053, allocations: 61.02 kB / 432.7 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.2055, allocations: 87.86 kB / 432.8 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007692/0.2062, allocations: 1.261 MB / 434 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.2064, allocations: 19.92 kB / 434.1 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2064, allocations: 15.98 kB / 434.1 MB, free: 2.5 MB / 394.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: 5 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase,V4.fluidState.phase,V5.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.000128/0.2066, allocations: 193 kB / 434.3 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.2066, allocations: 51.94 kB / 434.3 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009159/0.2076, allocations: 1.049 MB / 435.4 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.2076, allocations: 27.91 kB / 435.4 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2076, allocations: 0 / 435.4 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2076, allocations: 3.984 kB / 435.4 MB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.2081, allocations: 497.1 kB / 435.9 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2081, allocations: 0 / 435.9 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.2081, allocations: 31.97 kB / 435.9 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.2096, allocations: 1.093 MB / 437 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2096, allocations: 15.92 kB / 437 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.2108, allocations: 1.188 MB / 438.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2108, allocations: 0 / 438.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.2116, allocations: 0.9255 MB / 439.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.2117, allocations: 91.17 kB / 439.2 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.2117, allocations: 12 kB / 439.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2119, allocations: 15.98 kB / 439.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2119, allocations: 32.44 kB / 439.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2119, allocations: 11.98 kB / 439.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.2121, allocations: 216.3 kB / 439.5 MB, free: 12.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2121, allocations: 0 / 439.5 MB, free: 12.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002664/0.2148, allocations: 1.127 MB / 440.6 MB, free: 11.85 MB / 410.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: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002903/0.2177, allocations: 1.152 MB / 441.8 MB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2187, allocations: 0.5316 MB / 442.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.2187, allocations: 8 kB / 442.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.219, allocations: 252.2 kB / 442.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.2199, allocations: 322.2 kB / 442.9 MB, free: 9.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.2221, allocations: 1.487 MB / 444.4 MB, free: 8.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2222, allocations: 180.6 kB / 444.5 MB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.2226, allocations: 253.6 kB / 444.8 MB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.2229, allocations: 197.1 kB / 445 MB, free: 7.402 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2229, allocations: 0 / 445 MB, free: 7.402 MB / 410.7 MB Notification: Performance of Templates: time 0.1999/0.4228, allocations: 45.65 MB / 490.6 MB, free: 122.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.939383519813418]