Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.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.0008854/0.0008854, 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.0009133/0.0009133, allocations: 165.4 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.8949/0.8949, 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.08884/0.08884, allocations: 19.73 MB / 281.2 MB, free: 9.117 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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.419e-05, allocations: 6.312 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.03404/0.03406, allocations: 41.19 MB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.04144, allocations: 8.534 MB / 407.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.04175, allocations: 27.75 kB / 407.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.04228, allocations: 301.7 kB / 408 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007279/0.04301, allocations: 0.6633 MB / 408.7 MB, free: 3.691 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1265/0.1695, allocations: 5.271 MB / 414 MB, free: 20.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1713, allocations: 1.87 MB / 415.8 MB, free: 19.81 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/0.1721, allocations: 0.5863 MB / 416.4 MB, free: 19.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1734, allocations: 0.944 MB / 417.4 MB, free: 19.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.1742, allocations: 0.597 MB / 418 MB, free: 19.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1743, allocations: 80.5 kB / 418 MB, free: 19.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007543/0.1819, allocations: 5.805 MB / 423.8 MB, free: 19.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.182, allocations: 197.9 kB / 424 MB, free: 19.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1823, allocations: 344.5 kB / 424.4 MB, free: 19.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.1866, allocations: 4.831 MB / 429.2 MB, free: 19.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1866, allocations: 0 / 429.2 MB, free: 19.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1866, allocations: 0 / 429.2 MB, free: 19.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1867, allocations: 2.156 kB / 429.2 MB, free: 19.38 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002273/0.1889, allocations: 1.794 MB / 431 MB, free: 18.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.189, allocations: 9.312 kB / 431 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.1892, allocations: 207.6 kB / 431.2 MB, free: 18.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1897, allocations: 489.2 kB / 431.7 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1897, allocations: 54.41 kB / 431.7 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.1898, allocations: 64.98 kB / 431.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.1908, allocations: 0.8365 MB / 432.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1908, allocations: 3.062 kB / 432.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.1908, allocations: 36.3 kB / 432.7 MB, free: 17.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1908, allocations: 14.94 kB / 432.7 MB, free: 17.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.1914, allocations: 403.6 kB / 433.1 MB, free: 17.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.1931, allocations: 3.177 MB / 436.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.1938, allocations: 458.7 kB / 436.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1939, allocations: 122.7 kB / 436.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02635/0.2203, allocations: 17.54 MB / 454.4 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/0.2209, allocations: 402.6 kB / 454.8 MB, free: 2.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.714e-06/0.2209, allocations: 0 / 454.8 MB, free: 2.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001131/0.222, allocations: 0.678 MB / 455.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.2221, allocations: 91.08 kB / 455.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.2223, allocations: 471.2 kB / 456 MB, free: 1.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.2223, allocations: 43.62 kB / 456 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2225, allocations: 420.6 kB / 456.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2226, allocations: 147.2 kB / 456.6 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.2226, allocations: 102 kB / 456.7 MB, free: 1.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.2227, allocations: 0.5417 MB / 457.2 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2229, allocations: 204 kB / 457.4 MB, free: 460 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2231, allocations: 297.5 kB / 457.7 MB, free: 128 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.2234, allocations: 379.8 kB / 458.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2234, allocations: 0 / 458.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006029/0.224, allocations: 0.631 MB / 458.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.2241, allocations: 121.5 kB / 458.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2241, allocations: 4 kB / 458.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2241, allocations: 4 kB / 458.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.2244, allocations: 111.1 kB / 459 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2244, allocations: 11.08 kB / 459 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.2246, allocations: 79.81 kB / 459 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.2247, allocations: 20 kB / 459.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002451/0.2249, allocations: 322.6 kB / 459.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002131/0.2251, allocations: 320 kB / 459.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003148/0.2255, allocations: 409.3 kB / 460.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.2255, allocations: 0 / 460.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005335/0.226, allocations: 0.6172 MB / 460.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.226, allocations: 126.7 kB / 460.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.226, allocations: 320 / 460.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-06/0.226, allocations: 12 kB / 460.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2263, allocations: 114.2 kB / 461 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2263, allocations: 4 kB / 461 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.2265, allocations: 75.12 kB / 461 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2265, allocations: 23.98 kB / 461.1 MB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.2266, allocations: 308.4 kB / 461.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.2267, allocations: 78.36 kB / 461.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/0.2276, allocations: 1.061 MB / 462.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.2276, allocations: 23.95 kB / 462.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2276, allocations: 4 kB / 462.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2276, allocations: 0 / 462.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2287, allocations: 1.321 MB / 463.8 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2287, allocations: 3.984 kB / 463.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.2289, allocations: 83.78 kB / 463.9 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2289, allocations: 4 kB / 463.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.2289, allocations: 8 kB / 463.9 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2289, allocations: 6.344 kB / 464 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2289, allocations: 3.984 kB / 464 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.2296, allocations: 0.849 MB / 464.8 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.2297, allocations: 131.1 kB / 464.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.2298, allocations: 15.92 kB / 464.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.23, allocations: 51.95 kB / 465 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2301, allocations: 83.88 kB / 465.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.2301, allocations: 15.98 kB / 465.1 MB, free: 8.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.2303, allocations: 310.8 kB / 465.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2303, allocations: 2.062 kB / 465.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002057/0.2324, allocations: 1.162 MB / 466.6 MB, free: 7.027 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/0.2346, allocations: 1.071 MB / 467.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008895/0.2355, allocations: 1.18 MB / 468.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2355, allocations: 1 kB / 468.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.2358, allocations: 284.1 kB / 469.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.2365, allocations: 287 kB / 469.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2383, allocations: 1.605 MB / 471 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2384, allocations: 197.5 kB / 471.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.2388, allocations: 382.3 kB / 471.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.239, allocations: 60.48 kB / 471.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.239, allocations: 7.094 kB / 471.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Templates: time 0.04209/0.2811, allocations: 47 MB / 0.5065 GB, free: 3.223 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.843590712174773]