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.001028/0.001028, 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.001094/0.001094, 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 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.8427/0.8427, allocations: 158.6 MB / 186.4 MB, free: 2.938 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.185/0.185, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.162e-06/1.162e-06, allocations: 0 / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.687e-05, allocations: 5.688 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02933/0.02934, allocations: 43.26 MB / 397.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00869/0.03803, allocations: 8.417 MB / 405.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.0385, allocations: 27.75 kB / 405.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.03919, allocations: 317.5 kB / 405.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.03988, allocations: 0.6246 MB / 406.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009273/0.04915, allocations: 5.234 MB / 411.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.05065, allocations: 1.7 MB / 413.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.05121, allocations: 0.5284 MB / 413.9 MB, free: 7.074 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.05189, allocations: 0.8573 MB / 414.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.05236, allocations: 0.5569 MB / 415.3 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.05242, allocations: 64 kB / 415.4 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006785/0.05921, allocations: 5.782 MB / 421.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.05932, allocations: 167.3 kB / 421.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.05954, allocations: 307.3 kB / 421.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.06417, allocations: 4.704 MB / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.06418, allocations: 8 kB / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.06418, allocations: 0 / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.06419, 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.002254/0.06644, allocations: 1.518 MB / 427.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.06648, allocations: 8.031 kB / 427.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.06675, allocations: 192.2 kB / 428.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.06719, allocations: 436.8 kB / 428.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.06721, allocations: 45.69 kB / 428.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.06727, allocations: 68.38 kB / 428.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.06816, allocations: 0.7395 MB / 429.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.06817, allocations: 4.188 kB / 429.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.06821, allocations: 27.94 kB / 429.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.06822, allocations: 16 kB / 429.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.06882, allocations: 407.4 kB / 429.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.07088, allocations: 3.309 MB / 433.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.07155, allocations: 430.1 kB / 433.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.0717, allocations: 119.5 kB / 433.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1595/0.2312, allocations: 16.79 MB / 450.4 MB, free: 70.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.2312, allocations: 34.86 kB / 450.5 MB, free: 70.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.2312, allocations: 0 / 450.5 MB, free: 70.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001124/0.2324, allocations: 0.5798 MB / 451 MB, free: 70.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.2324, allocations: 84.39 kB / 451.1 MB, free: 70.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.2326, allocations: 420.7 kB / 451.5 MB, free: 70.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2326, allocations: 29.45 kB / 451.6 MB, free: 70.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.2328, allocations: 394.5 kB / 452 MB, free: 70.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.2328, allocations: 121.2 kB / 452.1 MB, free: 69.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.2329, allocations: 77.3 kB / 452.1 MB, free: 69.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.233, allocations: 0.5302 MB / 452.7 MB, free: 69.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2331, allocations: 71.08 kB / 452.7 MB, free: 69.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2333, allocations: 163.4 kB / 452.9 MB, free: 69.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2335, allocations: 244.5 kB / 453.1 MB, free: 68.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2335, allocations: 0 / 453.1 MB, free: 68.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00036/0.2339, allocations: 318.5 kB / 453.5 MB, free: 68.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2339, allocations: 8 kB / 453.5 MB, free: 68.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2339, allocations: 0.7969 kB / 453.5 MB, free: 68.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.2339, allocations: 4.938 kB / 453.5 MB, free: 68.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2342, allocations: 84.44 kB / 453.6 MB, free: 68.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2342, allocations: 4 kB / 453.6 MB, free: 68.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.2343, allocations: 35.77 kB / 453.6 MB, free: 68.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.2343, allocations: 23.28 kB / 453.6 MB, free: 68.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001318/0.2345, allocations: 178.3 kB / 453.8 MB, free: 68.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.127e-05/0.2346, allocations: 184.4 kB / 454 MB, free: 68.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001687/0.2347, allocations: 243.5 kB / 454.2 MB, free: 68.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.2347, allocations: 3.188 kB / 454.2 MB, free: 68.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002643/0.235, allocations: 289.5 kB / 454.5 MB, free: 67.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.235, allocations: 8 kB / 454.5 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.235, allocations: 4.344 kB / 454.5 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.235, allocations: 8 kB / 454.5 MB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.2351, allocations: 81.39 kB / 454.6 MB, free: 67.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2351, allocations: 5.969 kB / 454.6 MB, free: 67.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.2352, allocations: 24.34 kB / 454.6 MB, free: 67.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2352, allocations: 17.34 kB / 454.6 MB, free: 67.71 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.724e-05/0.2353, allocations: 296.4 kB / 454.9 MB, free: 67.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.2354, allocations: 61.67 kB / 455 MB, free: 67.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.2361, allocations: 0.9784 MB / 456 MB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.2361, allocations: 21.19 kB / 456 MB, free: 66.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2361, allocations: 7.844 kB / 456 MB, free: 66.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2361, allocations: 0 / 456 MB, free: 66.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2366, allocations: 0.6444 MB / 456.6 MB, free: 66.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2366, allocations: 0 / 456.6 MB, free: 66.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2367, allocations: 63.83 kB / 456.7 MB, free: 66.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2367, allocations: 0 / 456.7 MB, free: 66.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2367, allocations: 11.94 kB / 456.7 MB, free: 66.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2367, allocations: 3.281 kB / 456.7 MB, free: 66.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2367, allocations: 4 kB / 456.7 MB, free: 66.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.2372, allocations: 0.8486 MB / 457.6 MB, free: 65.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.2373, allocations: 115.3 kB / 457.7 MB, free: 65.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.2373, allocations: 3.938 kB / 457.7 MB, free: 65.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.2375, allocations: 11.88 kB / 457.7 MB, free: 65.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.2375, allocations: 53.98 kB / 457.7 MB, free: 65.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2376, allocations: 18.55 kB / 457.8 MB, free: 65.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.2377, allocations: 268.5 kB / 458 MB, free: 64.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2377, allocations: 0 / 458 MB, free: 64.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001735/0.2394, allocations: 1.095 MB / 459.1 MB, free: 63.84 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.002033/0.2414, allocations: 1.056 MB / 460.2 MB, free: 62.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.2419, allocations: 427.1 kB / 460.6 MB, free: 62.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2419, allocations: 0 / 460.6 MB, free: 62.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2421, allocations: 239.9 kB / 460.8 MB, free: 62.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.2428, allocations: 244.4 kB / 461.1 MB, free: 62.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2446, allocations: 1.491 MB / 462.6 MB, free: 60.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.2447, allocations: 178.5 kB / 462.7 MB, free: 60.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003397/0.245, allocations: 371.8 kB / 463.1 MB, free: 60.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2451, allocations: 48 kB / 463.1 MB, free: 60.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2451, allocations: 0 / 463.1 MB, free: 60.14 MB / 362.7 MB Notification: Performance of Templates: time 0.03393/0.279, allocations: 37.36 MB / 0.4888 GB, free: 22.91 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.640577196143568]