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.0008824/0.0008824, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001752/0.001752, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.9447/0.9447, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.1033/0.1033, allocations: 19.74 MB / 281.5 MB, free: 9.332 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.462e-06/1.462e-06, allocations: 0 / 358 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.223e-05, allocations: 2.312 kB / 358 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.1641/0.1642, allocations: 73.61 MB / 431.6 MB, free: 16.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00902/0.1732, allocations: 12.18 MB / 443.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.1735, allocations: 34.09 kB / 443.8 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.1743, allocations: 397 kB / 444.2 MB, free: 16.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006911/0.1749, allocations: 0.6051 MB / 444.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007877/0.1828, allocations: 5.928 MB / 450.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.1837, allocations: 1.656 MB / 452.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.1842, allocations: 499.3 kB / 452.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.1847, allocations: 0.8208 MB / 453.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.1851, allocations: 0.5218 MB / 454.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.1851, allocations: 65.28 kB / 454.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.1907, allocations: 6.212 MB / 460.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.1908, allocations: 180 kB / 460.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.191, allocations: 354.4 kB / 461 MB, free: 9.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.1951, allocations: 5.214 MB / 466.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1951, allocations: 0 / 466.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1951, allocations: 0 / 466.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1951, allocations: 4 kB / 466.2 MB, free: 3.867 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.002549/0.1977, allocations: 1.877 MB / 468.1 MB, free: 1.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1977, allocations: 16.03 kB / 468.1 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.1981, allocations: 244 kB / 468.3 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.1986, allocations: 0.5786 MB / 468.9 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.1987, allocations: 334.9 kB / 469.2 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.1988, allocations: 56.38 kB / 469.3 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.1998, allocations: 0.7579 MB / 470.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1998, allocations: 4 kB / 470.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1998, allocations: 27.94 kB / 470.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.1999, allocations: 16 kB / 470.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/0.2008, allocations: 0.5812 MB / 470.7 MB, free: 15.23 MB / 346.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.002024/0.2028, allocations: 2.197 MB / 472.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.2035, allocations: 388.1 kB / 473.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2037, allocations: 144.4 kB / 473.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.2038, allocations: 16.38 kB / 473.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2038, allocations: 41.75 kB / 473.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002849/0.2041, allocations: 107.6 kB / 473.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.063e-06/0.2041, allocations: 0 / 473.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.004289/0.2084, allocations: 1.682 MB / 475.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.2084, allocations: 59.34 kB / 475.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.2088, allocations: 0.5542 MB / 475.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.2088, allocations: 37.7 kB / 475.9 MB, free: 9.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.209, allocations: 427.7 kB / 476.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.2091, allocations: 166.5 kB / 476.5 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2092, allocations: 99.81 kB / 476.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000365/0.2096, allocations: 0.5469 MB / 477.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2097, allocations: 105.6 kB / 477.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2099, allocations: 104.4 kB / 477.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.2103, allocations: 235.4 kB / 477.5 MB, free: 8.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2103, allocations: 4 kB / 477.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007371/0.211, allocations: 0.5012 MB / 478.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.211, allocations: 4 kB / 478.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.211, allocations: 0 / 478.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.2143, allocations: 1.047 MB / 479.1 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2144, allocations: 54.47 kB / 479.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.2154, allocations: 1.122 MB / 480.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.2156, allocations: 16 kB / 480.3 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2157, allocations: 27.97 kB / 480.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002347/0.2159, allocations: 223.8 kB / 480.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001729/0.2161, allocations: 136.5 kB / 480.7 MB, free: 5.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003625/0.2164, allocations: 234.9 kB / 480.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.2164, allocations: 0 / 480.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0006172/0.2171, allocations: 440.7 kB / 481.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.2171, allocations: 7.984 kB / 481.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2171, allocations: 4 kB / 481.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.2173, allocations: 63.62 kB / 481.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2175, allocations: 103.8 kB / 481.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/0.2184, allocations: 1.846 MB / 483.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.2186, allocations: 15.98 kB / 483.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.2186, allocations: 20.86 kB / 483.4 MB, free: 2.141 MB / 346.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.0001251/0.2187, allocations: 297.4 kB / 483.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.746e-05/0.2188, allocations: 91.47 kB / 483.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.2199, allocations: 0.6145 MB / 484.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2199, allocations: 4 kB / 484.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2199, allocations: 0 / 484.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2199, allocations: 11.92 kB / 484.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2214, allocations: 1.294 MB / 485.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2214, allocations: 6.5 kB / 485.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2215, allocations: 59.91 kB / 485.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.2226, allocations: 480 kB / 486.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2226, allocations: 19.98 kB / 486.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008003/0.2234, allocations: 1.186 MB / 487.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2234, allocations: 3.938 kB / 487.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.2242, allocations: 0.7402 MB / 488.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.2242, allocations: 71.45 kB / 488.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.2243, allocations: 15.94 kB / 488.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.2245, allocations: 20 kB / 488.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.2246, allocations: 60.39 kB / 488.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.2246, allocations: 23.98 kB / 488.4 MB, free: 13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.2248, allocations: 379 kB / 488.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2248, allocations: 0 / 488.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001781/0.2266, allocations: 1.193 MB / 489.9 MB, free: 11.44 MB / 362.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.002136/0.2287, allocations: 1.129 MB / 491.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2302, allocations: 0.7112 MB / 491.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2302, allocations: 0 / 491.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.2306, allocations: 300.9 kB / 492.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.2317, allocations: 455 kB / 492.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.2334, allocations: 1.302 MB / 493.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.412e-05/0.2335, allocations: 155.7 kB / 494 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.2341, allocations: 0.6677 MB / 494.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.2342, allocations: 48.5 kB / 494.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2342, allocations: 0 / 494.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of Templates: time 0.04022/0.2744, allocations: 45 MB / 0.527 GB, free: 9.867 MB / 410.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.439776212908328]