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.001083/0.001083, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001044/0.001044, allocations: 161.4 kB / 24.56 MB, free: 20 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.9701/0.9701, allocations: 177.2 MB / 205 MB, free: 5.293 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.09042/0.09042, allocations: 19.73 MB / 281.2 MB, free: 9.105 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.243e-06/1.243e-06, allocations: 0 / 358 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.746e-05, allocations: 6.25 kB / 358 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02175/0.02177, allocations: 29.48 MB / 387.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008809/0.03058, allocations: 9.107 MB / 396.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.03098, allocations: 31.69 kB / 396.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.03155, allocations: 245.8 kB / 396.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007735/0.03233, allocations: 0.601 MB / 397.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008998/0.04132, allocations: 5.495 MB / 402.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.04293, allocations: 1.675 MB / 404.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/0.04352, allocations: 0.4924 MB / 405.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007644/0.04428, allocations: 0.8067 MB / 405.9 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.0448, allocations: 0.518 MB / 406.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.04488, allocations: 68 kB / 406.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.127/0.1719, allocations: 5.872 MB / 412.4 MB, free: 25.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.1722, allocations: 182.2 kB / 412.5 MB, free: 25.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.1727, allocations: 350.9 kB / 412.9 MB, free: 25.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008085/0.1808, allocations: 4.91 MB / 417.8 MB, free: 25.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1808, allocations: 1.125 kB / 417.8 MB, free: 25.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1808, allocations: 0 / 417.8 MB, free: 25.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.1809, allocations: 0 / 417.8 MB, free: 25.21 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.004202/0.1851, allocations: 1.812 MB / 419.6 MB, free: 24.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1851, allocations: 8.469 kB / 419.6 MB, free: 24.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.1856, allocations: 246.9 kB / 419.9 MB, free: 24.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.1863, allocations: 0.5804 MB / 420.4 MB, free: 24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.1864, allocations: 338.1 kB / 420.8 MB, free: 23.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.1865, allocations: 55.41 kB / 420.8 MB, free: 23.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1876, allocations: 0.7657 MB / 421.6 MB, free: 23.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1876, allocations: 0 / 421.6 MB, free: 23.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.1876, allocations: 28.06 kB / 421.6 MB, free: 23.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1877, allocations: 13.41 kB / 421.6 MB, free: 23.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.1886, allocations: 0.5869 MB / 422.2 MB, free: 23.54 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.002015/0.1906, allocations: 2.174 MB / 424.4 MB, free: 22.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.1914, allocations: 388.4 kB / 424.8 MB, free: 22.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1916, allocations: 148.7 kB / 424.9 MB, free: 22.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.1917, allocations: 13.56 kB / 424.9 MB, free: 22.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1917, allocations: 44.12 kB / 425 MB, free: 22.41 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000306/0.192, allocations: 104.4 kB / 425.1 MB, free: 22.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/0.192, allocations: 0 / 425.1 MB, free: 22.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.004347/0.1963, allocations: 1.675 MB / 426.7 MB, free: 22.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.1964, allocations: 65.69 kB / 426.8 MB, free: 22.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.1967, allocations: 0.5477 MB / 427.4 MB, free: 21.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1967, allocations: 36.27 kB / 427.4 MB, free: 21.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1968, allocations: 432.2 kB / 427.8 MB, free: 21.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.1969, allocations: 162.9 kB / 428 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.197, allocations: 103.3 kB / 428.1 MB, free: 21.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.1971, allocations: 0.5419 MB / 428.6 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.1973, allocations: 107.6 kB / 428.7 MB, free: 21.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.1974, allocations: 111 kB / 428.8 MB, free: 21.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1978, allocations: 232.6 kB / 429.1 MB, free: 21.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1978, allocations: 0 / 429.1 MB, free: 21.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007108/0.1985, allocations: 0.5005 MB / 429.6 MB, free: 20.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1985, allocations: 5.516 kB / 429.6 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1985, allocations: 7.5 kB / 429.6 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/0.2017, allocations: 1.036 MB / 430.6 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2018, allocations: 56.02 kB / 430.7 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/0.2028, allocations: 1.123 MB / 431.8 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.203, allocations: 16.69 kB / 431.8 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.203, allocations: 21.23 kB / 431.8 MB, free: 20.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002286/0.2033, allocations: 223.7 kB / 432 MB, free: 19.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001698/0.2034, allocations: 144.5 kB / 432.2 MB, free: 19.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003005/0.2037, allocations: 225.9 kB / 432.4 MB, free: 19.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.2037, allocations: 4 kB / 432.4 MB, free: 19.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0006037/0.2043, allocations: 441.7 kB / 432.8 MB, free: 19.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.2043, allocations: 7.719 kB / 432.8 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2044, allocations: 3.656 kB / 432.8 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.2045, allocations: 63.56 kB / 432.9 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.2048, allocations: 108 kB / 433 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006982/0.2055, allocations: 1.847 MB / 434.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2057, allocations: 24.22 kB / 434.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2057, allocations: 19.3 kB / 434.9 MB, free: 18.05 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 0.0001059/0.2058, allocations: 289.5 kB / 435.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2059, allocations: 94.78 kB / 435.3 MB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.2067, allocations: 0.6156 MB / 435.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2068, allocations: 7 kB / 435.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2068, allocations: 3.844 kB / 435.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2068, allocations: 0 / 435.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.2082, allocations: 1.291 MB / 437.2 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2082, allocations: 0 / 437.2 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.2083, allocations: 59.56 kB / 437.3 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.2094, allocations: 479.8 kB / 437.7 MB, free: 17.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2094, allocations: 22.48 kB / 437.7 MB, free: 17.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006937/0.2101, allocations: 1.184 MB / 438.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2101, allocations: 3.938 kB / 438.9 MB, free: 16.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.2108, allocations: 0.7408 MB / 439.7 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.2109, allocations: 78.03 kB / 439.7 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.2109, allocations: 16.58 kB / 439.8 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.2111, allocations: 19.8 kB / 439.8 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.2112, allocations: 62.36 kB / 439.8 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.2112, allocations: 21.95 kB / 439.9 MB, free: 16.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002059/0.2114, allocations: 379.9 kB / 440.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2114, allocations: 0 / 440.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003043/0.2145, allocations: 1.179 MB / 441.4 MB, free: 15.78 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.003295/0.2178, allocations: 1.102 MB / 442.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.219, allocations: 0.7251 MB / 443.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.219, allocations: 0 / 443.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.2194, allocations: 299.7 kB / 443.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2205, allocations: 448.1 kB / 444 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.2223, allocations: 1.304 MB / 445.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.2224, allocations: 153.6 kB / 445.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000567/0.2229, allocations: 0.6641 MB / 446.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.223, allocations: 55.98 kB / 446.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.223, allocations: 0 / 446.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Templates: time 0.04205/0.2651, allocations: 44.59 MB / 490.7 MB, free: 3.855 MB / 362.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.638661642093211]