Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.000722/0.000722, 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.0008855/0.0008855, allocations: 165.4 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.766/0.766, allocations: 158.6 MB / 186.4 MB, free: 2.902 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.1626/0.1626, 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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.386e-05, allocations: 3.297 kB / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.02196/0.02198, allocations: 32.79 MB / 386.6 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008087/0.03006, allocations: 9.316 MB / 395.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.03035, allocations: 23.75 kB / 395.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.03087, allocations: 222.2 kB / 396.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007011/0.03157, allocations: 460.7 kB / 396.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0166/0.04816, allocations: 5.17 MB / 401.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.0495, allocations: 1.237 MB / 403 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.04997, allocations: 325.6 kB / 403.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.05372, allocations: 0.6 MB / 403.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.05417, allocations: 374.9 kB / 404.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.05423, allocations: 44 kB / 404.3 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01787/0.0721, allocations: 5.911 MB / 410.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.07222, allocations: 119.4 kB / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.07248, allocations: 243.5 kB / 410.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.0847, allocations: 4.7 MB / 415.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.08471, allocations: 4 kB / 415.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.08471, allocations: 0 / 415.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.08472, allocations: 0 / 415.3 MB, free: 5.723 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005385/0.0901, allocations: 1.358 MB / 416.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.09014, allocations: 8.031 kB / 416.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.09064, allocations: 192.3 kB / 416.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.09116, allocations: 393.7 kB / 417.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.09119, allocations: 33.38 kB / 417.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.09126, allocations: 52.38 kB / 417.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.09561, allocations: 0.7274 MB / 418.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.09562, allocations: 3.938 kB / 418.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.09566, allocations: 20 kB / 418.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.09568, allocations: 12 kB / 418.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.09664, allocations: 437.5 kB / 418.5 MB, free: 2.375 MB / 346.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.003845/0.1005, allocations: 1.968 MB / 420.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1016, allocations: 426.6 kB / 420.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1017, allocations: 79.64 kB / 421 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1455/0.2472, allocations: 16.8 MB / 437.8 MB, free: 71.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2472, allocations: 41.64 kB / 437.8 MB, free: 71.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.235e-06/0.2472, allocations: 1.312 kB / 437.8 MB, free: 71.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003216/0.2505, allocations: 1.602 MB / 439.4 MB, free: 70.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2505, allocations: 110.5 kB / 439.5 MB, free: 70.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.2507, allocations: 383.3 kB / 439.9 MB, free: 70.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2508, allocations: 29.95 kB / 439.9 MB, free: 70.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2509, allocations: 345.8 kB / 440.3 MB, free: 70.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.251, allocations: 118 kB / 440.4 MB, free: 70.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2511, allocations: 98.97 kB / 440.5 MB, free: 70.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.2511, allocations: 0.526 MB / 441 MB, free: 69.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.2513, allocations: 149.5 kB / 441.2 MB, free: 69.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.2515, allocations: 289.5 kB / 441.4 MB, free: 69.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.2519, allocations: 374.7 kB / 441.8 MB, free: 69.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2519, allocations: 0.5156 kB / 441.8 MB, free: 69.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001066/0.253, allocations: 0.7265 MB / 442.5 MB, free: 69.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.253, allocations: 7.406 kB / 442.5 MB, free: 69.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.253, allocations: 3.125 kB / 442.5 MB, free: 69.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.2542, allocations: 0.5327 MB / 443.1 MB, free: 69.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.2543, allocations: 38.44 kB / 443.1 MB, free: 69.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.2552, allocations: 1.983 MB / 445.1 MB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2554, allocations: 10.56 kB / 445.1 MB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2554, allocations: 27.7 kB / 445.1 MB, free: 67.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002278/0.2556, allocations: 273.4 kB / 445.4 MB, free: 67.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002576/0.2559, allocations: 291.4 kB / 445.7 MB, free: 67.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003274/0.2562, allocations: 375.1 kB / 446 MB, free: 67.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.2562, allocations: 0 / 446 MB, free: 67.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.000826/0.257, allocations: 0.6945 MB / 446.7 MB, free: 67.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.257, allocations: 14.36 kB / 446.8 MB, free: 67.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.257, allocations: 0 / 446.8 MB, free: 67.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/0.2578, allocations: 475.2 kB / 447.2 MB, free: 67.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.2579, allocations: 40.34 kB / 447.3 MB, free: 67.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008596/0.2587, allocations: 1.928 MB / 449.2 MB, free: 65.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2588, allocations: 13.81 kB / 449.2 MB, free: 65.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.2588, allocations: 31.47 kB / 449.2 MB, free: 65.69 MB / 362.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 9.104e-05/0.2589, allocations: 289 kB / 449.5 MB, free: 65.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.259, allocations: 51.38 kB / 449.6 MB, free: 65.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.2604, allocations: 1.876 MB / 451.4 MB, free: 65.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2604, allocations: 14.28 kB / 451.5 MB, free: 65.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2604, allocations: 0 / 451.5 MB, free: 65.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2605, allocations: 2.812 kB / 451.5 MB, free: 65.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.2624, allocations: 2.807 MB / 454.3 MB, free: 64.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2624, allocations: 3.688 kB / 454.3 MB, free: 64.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.2625, allocations: 45.16 kB / 454.3 MB, free: 64.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.2635, allocations: 340.5 kB / 454.6 MB, free: 64.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.2635, allocations: 14.25 kB / 454.7 MB, free: 64.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.2648, allocations: 3.526 MB / 458.2 MB, free: 61.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2648, allocations: 4.969 kB / 458.2 MB, free: 61.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.2664, allocations: 2.491 MB / 460.7 MB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.2665, allocations: 43.89 kB / 460.7 MB, free: 59.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2665, allocations: 7.625 kB / 460.7 MB, free: 59.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2666, allocations: 21.3 kB / 460.8 MB, free: 59.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.2667, allocations: 25 kB / 460.8 MB, free: 59.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2667, allocations: 10.66 kB / 460.8 MB, free: 59.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.2668, allocations: 260.5 kB / 461 MB, free: 59.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2668, allocations: 0 / 461 MB, free: 59.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001651/0.2685, allocations: 0.9905 MB / 462 MB, free: 58.54 MB / 362.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.002107/0.2706, allocations: 1.066 MB / 463.1 MB, free: 57.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2716, allocations: 0.7103 MB / 463.8 MB, free: 57.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2716, allocations: 0 / 463.8 MB, free: 57.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.2721, allocations: 427.7 kB / 464.2 MB, free: 56.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2727, allocations: 240.8 kB / 464.5 MB, free: 56.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2741, allocations: 1.211 MB / 465.7 MB, free: 55.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.2742, allocations: 135.1 kB / 465.8 MB, free: 55.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.2743, allocations: 96.83 kB / 465.9 MB, free: 55.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.2744, allocations: 32.5 kB / 465.9 MB, free: 55.44 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2744, allocations: 0 / 465.9 MB, free: 55.44 MB / 362.7 MB Notification: Performance of Templates: time 0.0341/0.3085, allocations: 47.46 MB / 0.5014 GB, free: 9.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.180389344226569]