Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.0009634/0.0009634, 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.0009207/0.0009207, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.7907/0.7907, allocations: 158.6 MB / 186.4 MB, free: 2.547 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.167/0.167, allocations: 36.34 MB / 275.1 MB, free: 10.63 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.3e-05, allocations: 2.312 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.03388/0.0339, allocations: 43.26 MB / 397.1 MB, free: 8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.04576, allocations: 8.421 MB / 405.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.04658, allocations: 27.75 kB / 405.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009596/0.04754, allocations: 301.7 kB / 405.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.04884, allocations: 0.644 MB / 406.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.06324, allocations: 5.226 MB / 411.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.06569, allocations: 1.703 MB / 413.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.06676, allocations: 0.5284 MB / 413.9 MB, free: 7.074 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.06817, allocations: 0.8573 MB / 414.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007754/0.06895, allocations: 0.5491 MB / 415.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.06903, allocations: 64 kB / 415.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007277/0.07631, allocations: 5.789 MB / 421.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.07648, allocations: 167.3 kB / 421.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.07677, allocations: 303.4 kB / 421.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.083, allocations: 4.716 MB / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.08301, allocations: 0 / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08301, allocations: 0 / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.08303, allocations: 0 / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002527/0.08555, allocations: 1.514 MB / 427.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.08559, allocations: 8.031 kB / 427.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.0859, allocations: 192.2 kB / 428.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.08635, allocations: 444.8 kB / 428.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.08638, allocations: 45.69 kB / 428.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.08643, allocations: 64.38 kB / 428.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.08736, allocations: 0.7395 MB / 429.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.08738, allocations: 4.188 kB / 429.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.08742, allocations: 35.92 kB / 429.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.08744, allocations: 20 kB / 429.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.08805, allocations: 403.3 kB / 429.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.09017, allocations: 3.301 MB / 433.1 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.09087, allocations: 434 kB / 433.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.09101, allocations: 115.5 kB / 433.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.157/0.248, allocations: 16.79 MB / 450.4 MB, free: 70.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.248, allocations: 39.77 kB / 450.5 MB, free: 70.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.248, allocations: 0 / 450.5 MB, free: 70.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001145/0.2492, allocations: 0.578 MB / 451.1 MB, free: 70.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.2492, allocations: 83.22 kB / 451.1 MB, free: 70.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.2494, allocations: 411.4 kB / 451.5 MB, free: 70.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2495, allocations: 33.45 kB / 451.6 MB, free: 70.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.2496, allocations: 399 kB / 452 MB, free: 69.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.2497, allocations: 117.5 kB / 452.1 MB, free: 69.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.2497, allocations: 78.56 kB / 452.1 MB, free: 69.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.2498, allocations: 0.5262 MB / 452.7 MB, free: 69.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2499, allocations: 77.56 kB / 452.8 MB, free: 69.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.25, allocations: 161.9 kB / 452.9 MB, free: 69.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.2503, allocations: 247.3 kB / 453.2 MB, free: 68.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2503, allocations: 4 kB / 453.2 MB, free: 68.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003611/0.2506, allocations: 314.3 kB / 453.5 MB, free: 68.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2507, allocations: 8 kB / 453.5 MB, free: 68.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2507, allocations: 1.531 kB / 453.5 MB, free: 68.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2507, allocations: 8.938 kB / 453.5 MB, free: 68.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.2509, allocations: 80.8 kB / 453.6 MB, free: 68.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2509, allocations: 6.719 kB / 453.6 MB, free: 68.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.2511, allocations: 34.16 kB / 453.6 MB, free: 68.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2511, allocations: 15.38 kB / 453.6 MB, free: 68.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001318/0.2512, allocations: 187 kB / 453.8 MB, free: 68.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.171e-05/0.2513, allocations: 176.3 kB / 454 MB, free: 68.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001747/0.2515, allocations: 251.9 kB / 454.2 MB, free: 67.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.2515, allocations: 0 / 454.2 MB, free: 67.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002562/0.2517, allocations: 287.2 kB / 454.5 MB, free: 67.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.2517, allocations: 8 kB / 454.5 MB, free: 67.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.2517, allocations: 4 kB / 454.5 MB, free: 67.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.2517, allocations: 4.344 kB / 454.5 MB, free: 67.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2519, allocations: 87.52 kB / 454.6 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.2519, allocations: 4 kB / 454.6 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.252, allocations: 27.94 kB / 454.6 MB, free: 67.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.252, allocations: 18.19 kB / 454.6 MB, free: 67.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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 8.294e-05/0.2521, allocations: 288.2 kB / 454.9 MB, free: 67.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.2521, allocations: 66.3 kB / 455 MB, free: 67.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.2528, allocations: 0.9783 MB / 456 MB, free: 66.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.2528, allocations: 20.98 kB / 456 MB, free: 66.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2528, allocations: 1.875 kB / 456 MB, free: 66.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2528, allocations: 1.688 kB / 456 MB, free: 66.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.2533, allocations: 0.6495 MB / 456.6 MB, free: 66.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2533, allocations: 0 / 456.6 MB, free: 66.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.2534, allocations: 58.83 kB / 456.7 MB, free: 66.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2534, allocations: 5.828 kB / 456.7 MB, free: 66.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2535, allocations: 3.438 kB / 456.7 MB, free: 66.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2535, allocations: 11.38 kB / 456.7 MB, free: 66.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2535, allocations: 1.641 kB / 456.7 MB, free: 66.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.2539, allocations: 0.8507 MB / 457.6 MB, free: 65.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.254, allocations: 104.3 kB / 457.7 MB, free: 65.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.2541, allocations: 11.42 kB / 457.7 MB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2542, allocations: 7.75 kB / 457.7 MB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.2543, allocations: 49.86 kB / 457.7 MB, free: 65.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2543, allocations: 11.56 kB / 457.8 MB, free: 65.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.2544, allocations: 274.8 kB / 458 MB, free: 64.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2544, allocations: 0 / 458 MB, free: 64.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001618/0.256, allocations: 1.101 MB / 459.1 MB, free: 63.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.002104/0.2581, allocations: 1.059 MB / 460.2 MB, free: 62.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.2586, allocations: 429.8 kB / 460.6 MB, free: 62.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2586, allocations: 4 kB / 460.6 MB, free: 62.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2588, allocations: 237.3 kB / 460.8 MB, free: 62.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.2595, allocations: 242.5 kB / 461.1 MB, free: 62.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.2613, allocations: 1.497 MB / 462.6 MB, free: 60.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.2614, allocations: 176.7 kB / 462.7 MB, free: 60.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.2618, allocations: 365.3 kB / 463.1 MB, free: 60.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2619, allocations: 48.11 kB / 463.1 MB, free: 60.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2619, allocations: 0 / 463.1 MB, free: 60.11 MB / 362.7 MB Notification: Performance of Templates: time 0.0329/0.2948, allocations: 42.93 MB / 0.4942 GB, free: 17.33 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.964618328027427]