Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009584/0.0009584, allocations: 77.97 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.001093/0.001093, allocations: 165.8 kB / 24.82 MB, free: 9.273 MB / 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.9566/0.9566, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.09367/0.09367, allocations: 19.75 MB / 281.5 MB, free: 9.086 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 358.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.925e-06/9.057e-06, allocations: 6.25 kB / 358.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02738/0.02739, allocations: 42.73 MB / 401.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007615/0.035, allocations: 8.354 MB / 409.5 MB, free: 3.023 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.03532, allocations: 27.75 kB / 409.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.03583, allocations: 313.5 kB / 409.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006798/0.03651, allocations: 0.6401 MB / 410.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.147/0.1835, allocations: 5.246 MB / 415.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.1851, allocations: 1.714 MB / 417.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/0.1858, allocations: 0.5294 MB / 418 MB, free: 18.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1868, allocations: 0.8667 MB / 418.9 MB, free: 18.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006416/0.1875, allocations: 0.5448 MB / 419.4 MB, free: 18.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.1876, allocations: 65.66 kB / 419.5 MB, free: 18.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007439/0.195, allocations: 5.807 MB / 425.3 MB, free: 18.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1951, allocations: 171.1 kB / 425.4 MB, free: 18.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.1953, allocations: 312.8 kB / 425.8 MB, free: 18.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004603/0.2, allocations: 4.731 MB / 430.5 MB, free: 18.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2, allocations: 0 / 430.5 MB, free: 18.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2, allocations: 0 / 430.5 MB, free: 18.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2, allocations: 0 / 430.5 MB, free: 18.42 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002049/0.202, allocations: 1.536 MB / 432 MB, free: 17.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.202, allocations: 8.938 kB / 432 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.2024, allocations: 218.4 kB / 432.2 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.2028, allocations: 461.9 kB / 432.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2028, allocations: 47.44 kB / 432.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.2028, allocations: 67.86 kB / 432.8 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.2035, allocations: 0.6993 MB / 433.5 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2035, allocations: 4.031 kB / 433.5 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2035, allocations: 30.81 kB / 433.5 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2035, allocations: 19.75 kB / 433.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.204, allocations: 338.2 kB / 433.9 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2055, allocations: 3.214 MB / 437.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.2061, allocations: 406.9 kB / 437.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.2062, allocations: 91.23 kB / 437.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02329/0.2295, allocations: 15.44 MB / 453 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2295, allocations: 45.08 kB / 453.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.2295, allocations: 0 / 453.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009578/0.2305, allocations: 0.5317 MB / 453.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.2305, allocations: 81.11 kB / 453.7 MB, free: 2.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.2307, allocations: 419.3 kB / 454.1 MB, free: 2.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2307, allocations: 30.27 kB / 454.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2308, allocations: 408 kB / 454.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.2309, allocations: 110.3 kB / 454.6 MB, free: 1.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.2309, allocations: 88.72 kB / 454.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.231, allocations: 0.5333 MB / 455.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.2311, allocations: 52.97 kB / 455.3 MB, free: 1.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2312, allocations: 165.4 kB / 455.5 MB, free: 1.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.2314, allocations: 221.2 kB / 455.7 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2314, allocations: 0 / 455.7 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002827/0.2316, allocations: 282.9 kB / 456 MB, free: 0.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2317, allocations: 11.98 kB / 456 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2317, allocations: 3.188 kB / 456 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2317, allocations: 6.812 kB / 456 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2319, allocations: 79.42 kB / 456.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.2319, allocations: 4 kB / 456.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.232, allocations: 46.39 kB / 456.1 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.232, allocations: 11.5 kB / 456.1 MB, free: 456 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001108/0.2321, allocations: 171.1 kB / 456.3 MB, free: 284 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.211e-05/0.2322, allocations: 181.4 kB / 456.5 MB, free: 64 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001822/0.2324, allocations: 225.2 kB / 456.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.2324, allocations: 0 / 456.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002487/0.2326, allocations: 271 kB / 456.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.2326, allocations: 12.33 kB / 457 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2326, allocations: 8 kB / 457 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.2327, allocations: 4 kB / 457 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2328, allocations: 82.55 kB / 457 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2328, allocations: 4 kB / 457.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.2329, allocations: 30.03 kB / 457.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2329, allocations: 9.688 kB / 457.1 MB, free: 15.48 MB / 346.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 0.0001223/0.233, allocations: 298.8 kB / 457.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.2331, allocations: 54.91 kB / 457.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.2338, allocations: 0.878 MB / 458.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.2338, allocations: 23.52 kB / 458.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2338, allocations: 0 / 458.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2338, allocations: 0 / 458.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.2343, allocations: 0.5718 MB / 458.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2343, allocations: 0 / 458.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.2344, allocations: 54.78 kB / 459 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2344, allocations: 11.98 kB / 459 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2344, allocations: 11.81 kB / 459 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2344, allocations: 0.875 kB / 459 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2344, allocations: 0 / 459 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.2349, allocations: 0.7974 MB / 459.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.235, allocations: 125.2 kB / 459.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.2351, allocations: 6.562 kB / 459.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2352, allocations: 12.3 kB / 459.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.2353, allocations: 54.11 kB / 460 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2353, allocations: 8.438 kB / 460 MB, free: 12.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2354, allocations: 265.2 kB / 460.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2354, allocations: 0 / 460.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002327/0.2377, allocations: 1.1 MB / 461.3 MB, free: 11.66 MB / 346.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.002189/0.2399, allocations: 1.092 MB / 462.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.2403, allocations: 359 kB / 462.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2403, allocations: 0 / 462.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2405, allocations: 206.7 kB / 463 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.2412, allocations: 253 kB / 463.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2431, allocations: 1.493 MB / 464.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2432, allocations: 176.7 kB / 464.9 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000375/0.2435, allocations: 366 kB / 465.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.2439, allocations: 238 kB / 465.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of SimCode: time 4.8e-07/0.2439, allocations: 4 kB / 465.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of Templates: time 0.0405/0.2844, allocations: 42.38 MB / 0.496 GB, free: 13.55 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.562490485142916]