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.001047/0.001047, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001297/0.001297, allocations: 168.3 kB / 24.81 MB, free: 9.27 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.9091/0.9091, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1774/0.1774, allocations: 36.35 MB / 275.4 MB, free: 10.47 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 2.614e-06/2.614e-06, allocations: 0 / 354.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.068e-05, allocations: 6.312 kB / 354.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.03341/0.03344, allocations: 32.32 MB / 386.6 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009463/0.04291, allocations: 9.148 MB / 395.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.04337, allocations: 27.81 kB / 395.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.04395, allocations: 222.2 kB / 396 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.04453, allocations: 460.6 kB / 396.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.05548, allocations: 5.171 MB / 401.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.05679, allocations: 1.233 MB / 402.8 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.05726, allocations: 329.6 kB / 403.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007638/0.05802, allocations: 0.6001 MB / 403.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.05847, allocations: 370.9 kB / 404.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.05853, allocations: 44 kB / 404.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009116/0.06765, allocations: 5.911 MB / 410.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.06776, allocations: 123.4 kB / 410.2 MB, free: 11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.06799, allocations: 235.5 kB / 410.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006452/0.07444, allocations: 4.708 MB / 415.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.07445, allocations: 0 / 415.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.07445, allocations: 4 kB / 415.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.07446, allocations: 0 / 415.1 MB, free: 6.051 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.002752/0.07721, allocations: 1.369 MB / 416.5 MB, free: 4.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.07725, allocations: 8.031 kB / 416.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.0777, allocations: 192.3 kB / 416.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.07818, allocations: 389.7 kB / 417.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.07821, allocations: 37.38 kB / 417.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.07827, allocations: 52.38 kB / 417.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.07949, allocations: 0.6805 MB / 417.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.07951, allocations: 3.938 kB / 417.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.07954, allocations: 20 kB / 417.9 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.07955, allocations: 12 kB / 417.9 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.08032, allocations: 381.4 kB / 418.3 MB, free: 2.801 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.001755/0.08208, allocations: 1.894 MB / 420.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.08293, allocations: 402.7 kB / 420.5 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.08304, allocations: 67.62 kB / 420.6 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03214/0.1152, allocations: 14.7 MB / 435.3 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.1152, allocations: 45.38 kB / 435.4 MB, free: 1.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.1152, allocations: 0 / 435.4 MB, free: 1.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.1558/0.271, allocations: 1.772 MB / 437.1 MB, free: 71.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2711, allocations: 106.4 kB / 437.2 MB, free: 71.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.2714, allocations: 377.2 kB / 437.6 MB, free: 71.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.2714, allocations: 32.23 kB / 437.6 MB, free: 71.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.2716, allocations: 351.4 kB / 438 MB, free: 71.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.2716, allocations: 120.2 kB / 438.1 MB, free: 71.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2717, allocations: 98.83 kB / 438.2 MB, free: 71.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.2718, allocations: 0.5345 MB / 438.7 MB, free: 70.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.272, allocations: 119.4 kB / 438.8 MB, free: 70.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2722, allocations: 269.3 kB / 439.1 MB, free: 70.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.2725, allocations: 323 kB / 439.4 MB, free: 70.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.2725, allocations: 5.062 kB / 439.4 MB, free: 70.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009646/0.2734, allocations: 0.6704 MB / 440.1 MB, free: 70.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2734, allocations: 5.094 kB / 440.1 MB, free: 70.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2735, allocations: 1.781 kB / 440.1 MB, free: 70.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.2746, allocations: 0.5171 MB / 440.6 MB, free: 70.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.2747, allocations: 29.33 kB / 440.6 MB, free: 70.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009126/0.2756, allocations: 1.968 MB / 442.6 MB, free: 68.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2758, allocations: 11.86 kB / 442.6 MB, free: 68.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2758, allocations: 22.42 kB / 442.6 MB, free: 68.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001925/0.276, allocations: 253.8 kB / 442.9 MB, free: 68.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001839/0.2762, allocations: 265 kB / 443.2 MB, free: 68.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002948/0.2765, allocations: 333.3 kB / 443.5 MB, free: 68.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.2765, allocations: 2.031 kB / 443.5 MB, free: 68.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0008655/0.2773, allocations: 0.6389 MB / 444.1 MB, free: 68.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/0.2773, allocations: 4.906 kB / 444.1 MB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2773, allocations: 6.281 kB / 444.1 MB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008075/0.2782, allocations: 469.6 kB / 444.6 MB, free: 68.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.2782, allocations: 39.36 kB / 444.6 MB, free: 68.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/0.2792, allocations: 1.913 MB / 446.5 MB, free: 66.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2793, allocations: 12.59 kB / 446.6 MB, free: 66.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.2793, allocations: 24.53 kB / 446.6 MB, free: 66.49 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 (mixer.fluidState.phase,pressDrop.state.phase,header.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 0.0001015/0.2794, allocations: 283 kB / 446.9 MB, free: 66.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.2795, allocations: 62.25 kB / 446.9 MB, free: 66.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.281, allocations: 1.669 MB / 448.6 MB, free: 66.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.281, allocations: 12.56 kB / 448.6 MB, free: 66.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.281, allocations: 0 / 448.6 MB, free: 66.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.281, allocations: 1.812 kB / 448.6 MB, free: 66.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2828, allocations: 2.548 MB / 451.1 MB, free: 65.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2828, allocations: 1.188 kB / 451.1 MB, free: 65.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.2829, allocations: 39.7 kB / 451.2 MB, free: 65.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009292/0.2838, allocations: 343 kB / 451.5 MB, free: 65.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2839, allocations: 9.469 kB / 451.5 MB, free: 65.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.2849, allocations: 2.581 MB / 454.1 MB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2849, allocations: 0.9375 kB / 454.1 MB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.2863, allocations: 2.173 MB / 456.3 MB, free: 62.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.2864, allocations: 53.42 kB / 456.3 MB, free: 62.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.2864, allocations: 3.938 kB / 456.3 MB, free: 62.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2865, allocations: 18.67 kB / 456.4 MB, free: 62.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2866, allocations: 36 kB / 456.4 MB, free: 62.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2866, allocations: 9.344 kB / 456.4 MB, free: 62.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.2867, allocations: 249 kB / 456.6 MB, free: 62.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2867, allocations: 0 / 456.6 MB, free: 62.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001815/0.2885, allocations: 0.982 MB / 457.6 MB, free: 62.19 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.001927/0.2904, allocations: 1.109 MB / 458.7 MB, free: 61.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008729/0.2913, allocations: 0.6462 MB / 459.4 MB, free: 60.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2913, allocations: 4.375 kB / 459.4 MB, free: 60.88 MB / 362.7 MB Error: Internal error BackendDAEUtil.equationToExp failed: $DER.mixer.fluidState.d = Modelica.Media.Water.IF97_Utilities.rho_ph_der(mixer.p, mixer.h, $cse4, $DER.mixer.p, $DER.mixer.h) Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.2917, allocations: 409 kB / 459.8 MB, free: 60.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.2923, allocations: 226.2 kB / 460 MB, free: 60.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2936, allocations: 1.19 MB / 461.2 MB, free: 59.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.485e-05/0.2936, allocations: 137.2 kB / 461.3 MB, free: 59.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.2938, allocations: 102.7 kB / 461.4 MB, free: 59.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.294, allocations: 214.4 kB / 461.6 MB, free: 59.01 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.294, allocations: 0 / 461.6 MB, free: 59.01 MB / 362.7 MB Notification: Performance of Templates: time 0.03674/0.3307, allocations: 46.27 MB / 0.496 GB, free: 15.08 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: 4.647554669063538]