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.000943/0.000943, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001007/0.001007, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.8258/0.8258, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1666/0.1666, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.643e-06/1.643e-06, allocations: 0 / 354.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.333e-05, allocations: 2.312 kB / 354.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02778/0.02779, allocations: 42.6 MB / 396.9 MB, free: 8.375 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008253/0.03604, allocations: 8.273 MB / 405.2 MB, free: 76 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.03669, allocations: 27.75 kB / 405.2 MB, free: 48 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.03735, allocations: 305.7 kB / 405.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007599/0.03811, allocations: 0.6479 MB / 406.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.04893, allocations: 5.21 MB / 411.3 MB, free: 9.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.05053, allocations: 1.707 MB / 413 MB, free: 8.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006704/0.0512, allocations: 0.5323 MB / 413.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.05232, allocations: 0.8611 MB / 414.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.05284, allocations: 0.5452 MB / 415 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.05291, allocations: 64 kB / 415.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007197/0.0601, allocations: 5.794 MB / 420.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.06024, allocations: 167.3 kB / 421 MB, free: 168 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.06048, allocations: 299.4 kB / 421.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.06652, allocations: 4.712 MB / 426 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.06652, allocations: 0 / 426 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06652, allocations: 0 / 426 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.06653, allocations: 0 / 426 MB, free: 11.15 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.00241/0.06894, allocations: 1.525 MB / 427.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.06898, allocations: 12.03 kB / 427.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.06923, allocations: 196.2 kB / 427.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.06963, allocations: 436.8 kB / 428.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.06966, allocations: 53.67 kB / 428.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.06971, allocations: 64.38 kB / 428.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.07071, allocations: 0.7003 MB / 429 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.07072, allocations: 4.188 kB / 429 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.07075, allocations: 27.94 kB / 429 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.07076, allocations: 16 kB / 429 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.0712, allocations: 340.7 kB / 429.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.07305, allocations: 3.224 MB / 432.6 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.07363, allocations: 398.1 kB / 433 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.07373, allocations: 99.42 kB / 433.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1605/0.2342, allocations: 14.68 MB / 447.8 MB, free: 71.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2343, allocations: 44.81 kB / 447.8 MB, free: 71.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.2343, allocations: 4 kB / 447.8 MB, free: 71.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.00102/0.2353, allocations: 0.5394 MB / 448.3 MB, free: 71.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.2353, allocations: 80.73 kB / 448.4 MB, free: 71.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.2355, allocations: 412.2 kB / 448.8 MB, free: 71.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2355, allocations: 29.33 kB / 448.9 MB, free: 71.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2356, allocations: 401.3 kB / 449.2 MB, free: 70.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.2357, allocations: 126.2 kB / 449.4 MB, free: 70.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.2358, allocations: 76.91 kB / 449.4 MB, free: 70.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.2358, allocations: 0.5325 MB / 450 MB, free: 70.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.2359, allocations: 57.59 kB / 450 MB, free: 70.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.236, allocations: 150.8 kB / 450.2 MB, free: 70.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2362, allocations: 221.8 kB / 450.4 MB, free: 70.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2362, allocations: 0 / 450.4 MB, free: 70.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002652/0.2364, allocations: 291.2 kB / 450.7 MB, free: 70.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2364, allocations: 3.531 kB / 450.7 MB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2364, allocations: 3.5 kB / 450.7 MB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2365, allocations: 3.5 kB / 450.7 MB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.2366, allocations: 84.88 kB / 450.8 MB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2366, allocations: 4.688 kB / 450.8 MB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.2368, allocations: 38.3 kB / 450.8 MB, free: 70.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2368, allocations: 18.42 kB / 450.8 MB, free: 70.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001003/0.2369, allocations: 166.8 kB / 451 MB, free: 69.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.353e-05/0.237, allocations: 170.5 kB / 451.2 MB, free: 69.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001338/0.2371, allocations: 223.5 kB / 451.4 MB, free: 69.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2371, allocations: 3.469 kB / 451.4 MB, free: 69.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002311/0.2373, allocations: 269.7 kB / 451.6 MB, free: 69.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.2373, allocations: 13.53 kB / 451.7 MB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2373, allocations: 4.125 kB / 451.7 MB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/0.2373, allocations: 5.219 kB / 451.7 MB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2375, allocations: 81.91 kB / 451.7 MB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2375, allocations: 7.281 kB / 451.8 MB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.2376, allocations: 27.47 kB / 451.8 MB, free: 69.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2376, allocations: 16.59 kB / 451.8 MB, free: 69.51 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 (T1.fluidState.phase,T2.fluidState.phase,T3.fluidState.phase,T4.fluidState.phase,T5.fluidState.phase,T6.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 7.45e-05/0.2376, allocations: 295.2 kB / 452.1 MB, free: 69.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.2377, allocations: 63.64 kB / 452.1 MB, free: 69.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.2382, allocations: 0.8701 MB / 453 MB, free: 68.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.2382, allocations: 21.69 kB / 453 MB, free: 68.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2382, allocations: 0 / 453 MB, free: 68.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2382, allocations: 0 / 453 MB, free: 68.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.2386, allocations: 0.5719 MB / 453.6 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2386, allocations: 0 / 453.6 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.2388, allocations: 62.34 kB / 453.7 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2388, allocations: 4 kB / 453.7 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2388, allocations: 9.703 kB / 453.7 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2388, allocations: 4 kB / 453.7 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2388, allocations: 3.047 kB / 453.7 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.2392, allocations: 0.797 MB / 454.5 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.2393, allocations: 109.7 kB / 454.6 MB, free: 67.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2393, allocations: 3.5 kB / 454.6 MB, free: 67.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2394, allocations: 18.7 kB / 454.6 MB, free: 67.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.2395, allocations: 51.38 kB / 454.7 MB, free: 67.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2395, allocations: 11.5 kB / 454.7 MB, free: 67.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.082e-05/0.2396, allocations: 258 kB / 454.9 MB, free: 67.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2396, allocations: 0 / 454.9 MB, free: 67.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001758/0.2413, allocations: 1.092 MB / 456 MB, free: 66.11 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.001778/0.2431, allocations: 1.09 MB / 457.1 MB, free: 65.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.2434, allocations: 365.5 kB / 457.5 MB, free: 64.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2434, allocations: 0 / 457.5 MB, free: 64.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.2436, allocations: 212 kB / 457.7 MB, free: 64.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.2442, allocations: 244.8 kB / 457.9 MB, free: 64.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2458, allocations: 1.474 MB / 459.4 MB, free: 63.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.2458, allocations: 174.7 kB / 459.6 MB, free: 63.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.2461, allocations: 366 kB / 459.9 MB, free: 62.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.2464, allocations: 232 kB / 460.1 MB, free: 62.79 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2464, allocations: 0 / 460.1 MB, free: 62.79 MB / 362.7 MB Notification: Performance of Templates: time 0.03196/0.2784, allocations: 42.26 MB / 0.4906 GB, free: 21.21 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.4731549909338355]