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.0009107/0.0009107, 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.0009255/0.0009255, allocations: 161 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.9024/0.9024, allocations: 177.1 MB / 205 MB, free: 5.637 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.1034/0.1034, allocations: 19.74 MB / 281.2 MB, free: 9.27 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.212e-06/1.212e-06, allocations: 0 / 358 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.882e-05, allocations: 6.25 kB / 358 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.02919/0.0292, allocations: 41.18 MB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.03738, allocations: 8.526 MB / 407.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.03786, allocations: 35.69 kB / 407.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.03868, allocations: 301.7 kB / 408 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008766/0.03956, allocations: 0.6633 MB / 408.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.176/0.2155, allocations: 5.268 MB / 414 MB, free: 20.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.2174, allocations: 1.874 MB / 415.8 MB, free: 19.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008641/0.2183, allocations: 0.5855 MB / 416.4 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.2197, allocations: 0.9389 MB / 417.4 MB, free: 19.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009624/0.2207, allocations: 0.5966 MB / 418 MB, free: 19.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2208, allocations: 80.91 kB / 418 MB, free: 19.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009604/0.2305, allocations: 5.812 MB / 423.8 MB, free: 19.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.2306, allocations: 196.2 kB / 424 MB, free: 19.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.231, allocations: 348.4 kB / 424.4 MB, free: 19.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.238, allocations: 4.829 MB / 429.2 MB, free: 19.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.238, allocations: 0 / 429.2 MB, free: 19.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.238, allocations: 0 / 429.2 MB, free: 19.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.238, allocations: 0 / 429.2 MB, free: 19.41 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.003549/0.2416, allocations: 1.791 MB / 431 MB, free: 18.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2416, allocations: 9.094 kB / 431 MB, free: 18.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.242, allocations: 203.2 kB / 431.2 MB, free: 18.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.2425, allocations: 496.2 kB / 431.7 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.2426, allocations: 51.53 kB / 431.7 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.2426, allocations: 68.38 kB / 431.8 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.2439, allocations: 0.8322 MB / 432.6 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2439, allocations: 3.562 kB / 432.6 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.244, allocations: 33.47 kB / 432.7 MB, free: 17.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.244, allocations: 20.69 kB / 432.7 MB, free: 17.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.2448, allocations: 402 kB / 433.1 MB, free: 17.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.247, allocations: 3.175 MB / 436.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008834/0.2478, allocations: 456.7 kB / 436.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.248, allocations: 126.2 kB / 436.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03724/0.2853, allocations: 17.54 MB / 454.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.286, allocations: 400.5 kB / 454.8 MB, free: 2.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/0.286, allocations: 0 / 454.8 MB, free: 2.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001161/0.2872, allocations: 0.6841 MB / 455.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2872, allocations: 92.19 kB / 455.5 MB, free: 2.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.2874, allocations: 480.2 kB / 456 MB, free: 1.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2875, allocations: 37.39 kB / 456 MB, free: 1.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.2876, allocations: 412.7 kB / 456.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.2877, allocations: 147.5 kB / 456.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2878, allocations: 102.5 kB / 456.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.2879, allocations: 0.532 MB / 457.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2881, allocations: 207 kB / 457.4 MB, free: 484 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.2882, allocations: 296.2 kB / 457.7 MB, free: 148 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.2886, allocations: 379.2 kB / 458.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2886, allocations: 4 kB / 458.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006117/0.2892, allocations: 0.6388 MB / 458.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.2893, allocations: 122.8 kB / 458.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2893, allocations: 0 / 458.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2893, allocations: 4 kB / 458.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.2896, allocations: 114.4 kB / 459 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2896, allocations: 4 kB / 459 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.2899, allocations: 79.88 kB / 459 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.2899, allocations: 23.98 kB / 459.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002546/0.2901, allocations: 322.6 kB / 459.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002233/0.2904, allocations: 319.6 kB / 459.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003211/0.2907, allocations: 403.8 kB / 460.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.2907, allocations: 0 / 460.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005609/0.2913, allocations: 0.613 MB / 460.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.2913, allocations: 131 kB / 460.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2913, allocations: 4 kB / 460.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.2913, allocations: 11.22 kB / 460.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2915, allocations: 111.6 kB / 461 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2915, allocations: 11.36 kB / 461 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.2917, allocations: 71.75 kB / 461 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2918, allocations: 20 kB / 461.1 MB, free: 12.6 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.0001403/0.2919, allocations: 309.6 kB / 461.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.292, allocations: 71.61 kB / 461.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.2929, allocations: 1.069 MB / 462.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.2929, allocations: 23.97 kB / 462.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2929, allocations: 0 / 462.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2929, allocations: 3.984 kB / 462.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.294, allocations: 1.32 MB / 463.8 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2941, allocations: 0 / 463.8 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.2943, allocations: 86.22 kB / 463.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2943, allocations: 4 kB / 463.9 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2943, allocations: 11.98 kB / 463.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2943, allocations: 4 kB / 463.9 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2943, allocations: 0 / 463.9 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.295, allocations: 0.8531 MB / 464.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2951, allocations: 139 kB / 464.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.2952, allocations: 8 kB / 464.9 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2954, allocations: 47.95 kB / 465 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.2955, allocations: 87.86 kB / 465.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2955, allocations: 16 kB / 465.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.2957, allocations: 310.8 kB / 465.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2957, allocations: 4 kB / 465.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002554/0.2983, allocations: 1.158 MB / 466.6 MB, free: 7.035 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.00238/0.3007, allocations: 1.075 MB / 467.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009323/0.3016, allocations: 1.177 MB / 468.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3016, allocations: 256 / 468.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.3019, allocations: 284.4 kB / 469.1 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.3027, allocations: 284.7 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.001873/0.3046, allocations: 1.607 MB / 471 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3047, allocations: 193.5 kB / 471.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.3051, allocations: 394.4 kB / 471.5 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3052, allocations: 60.48 kB / 471.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of SimCode: time 7.42e-07/0.3052, allocations: 0 / 471.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of Templates: time 0.03713/0.3423, allocations: 41.16 MB / 0.5007 GB, free: 9.062 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.76372159505263]