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.000895/0.000895, allocations: 75.77 kB / 21.18 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.0009012/0.0009012, allocations: 161 kB / 24.56 MB, free: 8 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.8689/0.8689, allocations: 177.1 MB / 205 MB, free: 5.598 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.09193/0.09193, allocations: 19.73 MB / 281.2 MB, free: 9.238 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 2.815e-06/2.815e-06, allocations: 3.984 kB / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/2.11e-05, allocations: 2.312 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.02277/0.02279, allocations: 32.9 MB / 390.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008355/0.03115, allocations: 9.32 MB / 400.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.03154, allocations: 23.75 kB / 400.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.03211, allocations: 210.3 kB / 400.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.0327, allocations: 464.6 kB / 400.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009297/0.04199, allocations: 5.19 MB / 406.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.04305, allocations: 1.237 MB / 407.3 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.04347, allocations: 337.6 kB / 407.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.04396, allocations: 0.5884 MB / 408.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.04431, allocations: 378.8 kB / 408.6 MB, free: 3.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.04436, allocations: 44 kB / 408.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1267/0.171, allocations: 5.903 MB / 414.5 MB, free: 23.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1712, allocations: 119.4 kB / 414.6 MB, free: 23.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.1715, allocations: 245.2 kB / 414.9 MB, free: 23.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007093/0.1786, allocations: 4.718 MB / 419.6 MB, free: 23.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1786, allocations: 0 / 419.6 MB, free: 23.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1786, allocations: 1.188 kB / 419.6 MB, free: 23.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1787, allocations: 0 / 419.6 MB, free: 23.74 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.002953/0.1816, allocations: 1.37 MB / 421 MB, free: 22.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1817, allocations: 9.406 kB / 421 MB, free: 22.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.1821, allocations: 176.3 kB / 421.1 MB, free: 22.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.1825, allocations: 392.8 kB / 421.5 MB, free: 22.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1825, allocations: 37.72 kB / 421.6 MB, free: 22.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.1826, allocations: 53.17 kB / 421.6 MB, free: 22.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.1836, allocations: 0.7277 MB / 422.3 MB, free: 22.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1836, allocations: 1.844 kB / 422.4 MB, free: 22.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1836, allocations: 28.16 kB / 422.4 MB, free: 22.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1836, allocations: 11.12 kB / 422.4 MB, free: 22.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.1844, allocations: 435.2 kB / 422.8 MB, free: 22.48 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.001366/0.1857, allocations: 1.964 MB / 424.8 MB, free: 21.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.1865, allocations: 429.3 kB / 425.2 MB, free: 21.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1866, allocations: 88.27 kB / 425.3 MB, free: 21.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02742/0.214, allocations: 17.52 MB / 442.8 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.214, allocations: 43.39 kB / 442.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.214, allocations: 0 / 442.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.003196/0.2172, allocations: 1.605 MB / 444.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2172, allocations: 110.8 kB / 444.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.2175, allocations: 378.2 kB / 444.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2175, allocations: 32.42 kB / 445 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2176, allocations: 351.6 kB / 445.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.2176, allocations: 116.8 kB / 445.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.2177, allocations: 100.2 kB / 445.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.2178, allocations: 0.5264 MB / 446 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.218, allocations: 148.7 kB / 446.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2181, allocations: 283.5 kB / 446.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.2185, allocations: 375.8 kB / 446.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2185, allocations: 0 / 446.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009402/0.2194, allocations: 0.7201 MB / 447.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2194, allocations: 7.938 kB / 447.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.2194, allocations: 4 kB / 447.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.2206, allocations: 0.5371 MB / 448.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.2206, allocations: 33.62 kB / 448.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008506/0.2215, allocations: 1.988 MB / 450.1 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2216, allocations: 7.562 kB / 450.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.2217, allocations: 26.92 kB / 450.2 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002029/0.2219, allocations: 273.7 kB / 450.4 MB, free: 9.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001664/0.222, allocations: 291.5 kB / 450.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002985/0.2223, allocations: 373.5 kB / 451.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.2223, allocations: 0 / 451.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0008296/0.2232, allocations: 0.7003 MB / 451.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.2232, allocations: 4 kB / 451.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.2232, allocations: 5.641 kB / 451.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/0.2239, allocations: 477.6 kB / 452.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.224, allocations: 39.45 kB / 452.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008626/0.2248, allocations: 1.932 MB / 454.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.225, allocations: 19.86 kB / 454.2 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.225, allocations: 24.48 kB / 454.3 MB, free: 5.82 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 9.618e-05/0.2251, allocations: 291.7 kB / 454.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.2252, allocations: 54.66 kB / 454.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2266, allocations: 1.874 MB / 456.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2266, allocations: 11.55 kB / 456.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2266, allocations: 0 / 456.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2266, allocations: 5.938 kB / 456.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2284, allocations: 2.819 MB / 459.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2284, allocations: 3.938 kB / 459.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2285, allocations: 39.92 kB / 459.4 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.2296, allocations: 350 kB / 459.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.2296, allocations: 7.875 kB / 459.7 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.2314, allocations: 3.517 MB / 463.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2314, allocations: 7.812 kB / 463.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.2333, allocations: 2.481 MB / 465.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.2334, allocations: 55.41 kB / 465.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.2334, allocations: 7.875 kB / 465.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2335, allocations: 16.59 kB / 465.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.2336, allocations: 29.58 kB / 465.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2336, allocations: 7.75 kB / 465.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.2338, allocations: 265.5 kB / 466.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2338, allocations: 4 kB / 466.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002789/0.2366, allocations: 0.9918 MB / 467.1 MB, free: 9.469 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.003241/0.2398, allocations: 1.078 MB / 468.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.2411, allocations: 0.7129 MB / 468.9 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2411, allocations: 0 / 468.9 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.2417, allocations: 425.6 kB / 469.3 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/0.2426, allocations: 246.4 kB / 469.5 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2443, allocations: 1.2 MB / 470.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.997e-05/0.2443, allocations: 130.8 kB / 470.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.2445, allocations: 103.2 kB / 471 MB, free: 5.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.2446, allocations: 32.5 kB / 471 MB, free: 5.816 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2446, allocations: 0 / 471 MB, free: 5.816 MB / 346.7 MB Notification: Performance of Templates: time 0.04584/0.2904, allocations: 47.57 MB / 0.5064 GB, free: 6.605 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: 5.088057584129274]