Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.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.001407/0.001407, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001649/0.001649, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9267/0.9267, allocations: 177.1 MB / 205 MB, free: 5.594 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.09143/0.09143, allocations: 19.74 MB / 281.2 MB, free: 9.234 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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.14e-05, allocations: 6.25 kB / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.02434/0.02436, allocations: 32.91 MB / 390.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008351/0.03271, allocations: 9.312 MB / 400.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.03307, allocations: 23.81 kB / 400.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.0336, allocations: 218.2 kB / 400.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.03415, allocations: 456.7 kB / 400.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009367/0.04352, allocations: 5.19 MB / 406.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.04462, allocations: 1.241 MB / 407.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.04505, allocations: 329.6 kB / 407.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.04564, allocations: 0.6001 MB / 408.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.04602, allocations: 374.8 kB / 408.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.04607, allocations: 44 kB / 408.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1249/0.1709, allocations: 5.906 MB / 414.5 MB, free: 23.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1711, allocations: 119.6 kB / 414.7 MB, free: 23.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.1715, allocations: 238.1 kB / 414.9 MB, free: 23.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.179, allocations: 4.716 MB / 419.6 MB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.179, allocations: 2.078 kB / 419.6 MB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.179, allocations: 0.5938 kB / 419.6 MB, free: 23.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.179, allocations: 1.188 kB / 419.6 MB, free: 23.76 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002792/0.1818, allocations: 1.363 MB / 421 MB, free: 22.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1818, allocations: 10.09 kB / 421 MB, free: 22.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.1822, allocations: 182.2 kB / 421.2 MB, free: 22.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.1827, allocations: 397.3 kB / 421.5 MB, free: 22.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1827, allocations: 36.62 kB / 421.6 MB, free: 22.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.1828, allocations: 54.73 kB / 421.6 MB, free: 22.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000973/0.1837, allocations: 0.721 MB / 422.4 MB, free: 22.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1837, allocations: 0 / 422.4 MB, free: 22.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1838, allocations: 24.38 kB / 422.4 MB, free: 22.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1838, allocations: 11.88 kB / 422.4 MB, free: 22.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.1845, allocations: 438.5 kB / 422.8 MB, free: 22.5 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1859, allocations: 1.962 MB / 424.8 MB, free: 21.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.1866, allocations: 429.8 kB / 425.2 MB, free: 21.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1867, allocations: 80.86 kB / 425.3 MB, free: 21.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02882/0.2155, allocations: 17.54 MB / 442.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2156, allocations: 37.02 kB / 442.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.2156, allocations: 0 / 442.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.003254/0.2188, allocations: 1.606 MB / 444.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2189, allocations: 108.5 kB / 444.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.2191, allocations: 381 kB / 444.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2191, allocations: 28.77 kB / 445 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2192, allocations: 343.6 kB / 445.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.2192, allocations: 124.4 kB / 445.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.2193, allocations: 101.2 kB / 445.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.2194, allocations: 0.5255 MB / 446 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2196, allocations: 157.2 kB / 446.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.2198, allocations: 280.7 kB / 446.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.2201, allocations: 369 kB / 446.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2201, allocations: 0 / 446.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009598/0.2211, allocations: 0.7247 MB / 447.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2211, allocations: 11.94 kB / 447.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2211, allocations: 0 / 447.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.2222, allocations: 0.539 MB / 448.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.2223, allocations: 35.17 kB / 448.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008456/0.2231, allocations: 1.978 MB / 450.1 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2233, allocations: 7.438 kB / 450.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.2233, allocations: 27.91 kB / 450.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001998/0.2235, allocations: 275.7 kB / 450.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001688/0.2237, allocations: 291.5 kB / 450.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002994/0.224, allocations: 372.8 kB / 451.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.224, allocations: 0 / 451.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0008387/0.2248, allocations: 0.7003 MB / 451.8 MB, free: 8.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.2248, allocations: 8 kB / 451.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.2248, allocations: 1.859 kB / 451.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.2256, allocations: 480.8 kB / 452.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.2257, allocations: 39.27 kB / 452.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.2265, allocations: 1.932 MB / 454.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2266, allocations: 10.44 kB / 454.2 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2267, allocations: 26.73 kB / 454.3 MB, free: 5.793 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 8.959e-05/0.2267, allocations: 289.3 kB / 454.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.2268, allocations: 53 kB / 454.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.2282, allocations: 1.879 MB / 456.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2282, allocations: 15.11 kB / 456.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2282, allocations: 0 / 456.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2282, allocations: 7.938 kB / 456.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.2301, allocations: 2.81 MB / 459.3 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2301, allocations: 7.938 kB / 459.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2302, allocations: 47.16 kB / 459.4 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.2313, allocations: 339.5 kB / 459.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2313, allocations: 11.42 kB / 459.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.233, allocations: 3.521 MB / 463.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.233, allocations: 4.188 kB / 463.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.235, allocations: 2.481 MB / 465.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.2351, allocations: 48.8 kB / 465.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.2351, allocations: 9.625 kB / 465.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2353, allocations: 18.66 kB / 465.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.2353, allocations: 27.14 kB / 465.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2353, allocations: 15.36 kB / 465.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.2355, allocations: 261.5 kB / 466.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2355, allocations: 1.531 kB / 466.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00299/0.2385, allocations: 0.9924 MB / 467.1 MB, free: 9.441 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00277/0.2413, allocations: 1.089 MB / 468.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.2425, allocations: 0.7207 MB / 468.9 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2425, allocations: 0 / 468.9 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.2431, allocations: 422.8 kB / 469.3 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.2438, allocations: 244.6 kB / 469.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.2454, allocations: 1.19 MB / 470.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.887e-05/0.2455, allocations: 134.8 kB / 470.9 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.2457, allocations: 103.2 kB / 471 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.2458, allocations: 34 kB / 471 MB, free: 5.789 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2458, allocations: 0 / 471 MB, free: 5.789 MB / 346.7 MB Notification: Performance of Templates: time 0.03973/0.2855, allocations: 40.77 MB / 0.4998 GB, free: 13.36 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.548009995371103]