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.001039/0.001039, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001152/0.001152, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9357/0.9357, allocations: 158.6 MB / 186.8 MB, free: 2.316 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.1953/0.1953, allocations: 36.35 MB / 275.4 MB, free: 10.52 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 / 305.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.381e-05, allocations: 2.312 kB / 305.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.03301/0.03304, allocations: 43.03 MB / 348.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.04262, allocations: 8.42 MB / 356.7 MB, free: 448 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.04335, allocations: 27.75 kB / 356.7 MB, free: 420 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.04438, allocations: 301.6 kB / 357 MB, free: 116 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009845/0.04536, allocations: 0.6402 MB / 357.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.05679, allocations: 4.797 MB / 362.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.05886, allocations: 1.7 MB / 364.2 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.05994, allocations: 0.5341 MB / 364.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.06096, allocations: 0.8534 MB / 365.5 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.06156, allocations: 0.5179 MB / 366.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.06164, allocations: 68 kB / 366.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009115/0.07076, allocations: 6.184 MB / 372.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.07099, allocations: 167.3 kB / 372.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.0714, allocations: 311.3 kB / 372.8 MB, free: 296 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.0793, allocations: 4.712 MB / 377.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.07931, allocations: 0 / 377.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.07931, allocations: 0 / 377.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.07932, allocations: 0 / 377.5 MB, free: 11.57 MB / 346.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.003004/0.08233, allocations: 1.42 MB / 378.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.08237, allocations: 12.03 kB / 378.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.08266, allocations: 160.7 kB / 379.1 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.08325, allocations: 379.3 kB / 379.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.08329, allocations: 45.69 kB / 379.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.08336, allocations: 64.38 kB / 379.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.08443, allocations: 0.6706 MB / 380.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.08445, allocations: 12 kB / 380.2 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.08449, allocations: 27.94 kB / 380.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.08451, allocations: 16 kB / 380.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.08522, allocations: 308.8 kB / 380.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.08753, allocations: 2.316 MB / 382.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.08835, allocations: 360.9 kB / 383.3 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.08846, allocations: 77.69 kB / 383.3 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1135/0.202, allocations: 58.26 MB / 441.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.202, allocations: 42.55 kB / 441.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.202, allocations: 0 / 441.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001046/0.203, allocations: 485.2 kB / 442.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2031, allocations: 81.11 kB / 442.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.2033, allocations: 355.2 kB / 442.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2033, allocations: 33.7 kB / 442.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2035, allocations: 301.4 kB / 442.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.2035, allocations: 114.9 kB / 443 MB, free: 9.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.2036, allocations: 77.94 kB / 443 MB, free: 9.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.2037, allocations: 362.7 kB / 443.4 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.2038, allocations: 42.16 kB / 443.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2039, allocations: 117.8 kB / 443.6 MB, free: 9.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.2041, allocations: 184.1 kB / 443.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2041, allocations: 0 / 443.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005055/0.2046, allocations: 221.3 kB / 444 MB, free: 8.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2046, allocations: 7.938 kB / 444 MB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2046, allocations: 11.92 kB / 444 MB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2046, allocations: 4 kB / 444 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.2049, allocations: 83.88 kB / 444.1 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2049, allocations: 4.25 kB / 444.1 MB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.205, allocations: 35.83 kB / 444.1 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.205, allocations: 8 kB / 444.1 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000123/0.2051, allocations: 120.8 kB / 444.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.092e-05/0.2052, allocations: 131.9 kB / 444.4 MB, free: 8.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000136/0.2054, allocations: 187.5 kB / 444.5 MB, free: 8.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.81e-07/0.2054, allocations: 0 / 444.5 MB, free: 8.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0001877/0.2055, allocations: 212 kB / 444.7 MB, free: 7.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.2055, allocations: 8 kB / 444.8 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.2055, allocations: 4 kB / 444.8 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/0.2056, allocations: 7.938 kB / 444.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2057, allocations: 79.89 kB / 444.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2057, allocations: 15.92 kB / 444.9 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.2058, allocations: 19.89 kB / 444.9 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2058, allocations: 12 kB / 444.9 MB, free: 7.66 MB / 410.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.0001051/0.2059, allocations: 204.1 kB / 445.1 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.206, allocations: 35.97 kB / 445.1 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.2066, allocations: 0.909 MB / 446 MB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.2066, allocations: 27.95 kB / 446.1 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.2066, allocations: 0 / 446.1 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2066, allocations: 0 / 446.1 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.2071, allocations: 0.5204 MB / 446.6 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2072, allocations: 4 kB / 446.6 MB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.2073, allocations: 71.89 kB / 446.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2073, allocations: 4 kB / 446.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2073, allocations: 4 kB / 446.7 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2073, allocations: 0 / 446.7 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2073, allocations: 7.938 kB / 446.7 MB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.2078, allocations: 0.6933 MB / 447.4 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.2079, allocations: 91.27 kB / 447.5 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.2079, allocations: 11.94 kB / 447.5 MB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2081, allocations: 12 kB / 447.5 MB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.2081, allocations: 47.86 kB / 447.5 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.2082, allocations: 11.98 kB / 447.5 MB, free: 4.961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.651e-05/0.2083, allocations: 144.7 kB / 447.7 MB, free: 4.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2083, allocations: 3.938 kB / 447.7 MB, free: 4.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002171/0.2104, allocations: 1.099 MB / 448.8 MB, free: 3.715 MB / 410.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.002518/0.2129, allocations: 1.128 MB / 449.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.2134, allocations: 329 kB / 450.2 MB, free: 2.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.2134, allocations: 4 kB / 450.2 MB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.2135, allocations: 194.4 kB / 450.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.2142, allocations: 243.7 kB / 450.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.2164, allocations: 1.488 MB / 452.1 MB, free: 308 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2165, allocations: 176.7 kB / 452.3 MB, free: 116 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004262/0.2169, allocations: 374 kB / 452.7 MB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.2172, allocations: 185.2 kB / 452.9 MB, free: 15.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2172, allocations: 0 / 452.9 MB, free: 15.57 MB / 426.7 MB Notification: Performance of Templates: time 0.1713/0.3886, allocations: 41.37 MB / 494.2 MB, free: 121.6 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.731415115762502]