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.001237/0.001237, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009271/0.0009271, allocations: 166.7 kB / 24.99 MB, free: 8.797 MB / 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.8785/0.8785, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.1012/0.1012, allocations: 19.74 MB / 281.5 MB, free: 9.34 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.253e-06/1.253e-06, allocations: 0 / 357.9 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.402e-05, allocations: 6.25 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.1733/0.1733, allocations: 74.76 MB / 432.7 MB, free: 16.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009679/0.183, allocations: 10.68 MB / 443.4 MB, free: 16.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.1833, allocations: 22.84 kB / 443.4 MB, free: 16.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.184, allocations: 329.1 kB / 443.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.1846, allocations: 459.3 kB / 444.2 MB, free: 16.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00933/0.1939, allocations: 5.402 MB / 449.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008495/0.1948, allocations: 1.241 MB / 450.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.1952, allocations: 329.8 kB / 451.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.1957, allocations: 0.6103 MB / 451.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.196, allocations: 369.2 kB / 452.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.1961, allocations: 43.62 kB / 452.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007358/0.2034, allocations: 6.079 MB / 458.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.2035, allocations: 120.9 kB / 458.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.2036, allocations: 239.2 kB / 458.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.2074, allocations: 4.862 MB / 463.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2074, allocations: 0 / 463.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2074, allocations: 3.938 kB / 463.5 MB, free: 6.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2074, allocations: 0 / 463.5 MB, free: 6.691 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.001714/0.2092, allocations: 1.4 MB / 464.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.2092, allocations: 12.03 kB / 464.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.2095, allocations: 188.3 kB / 465.1 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.2099, allocations: 389.7 kB / 465.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2099, allocations: 37.38 kB / 465.5 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.2099, allocations: 52.36 kB / 465.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.2108, allocations: 0.7198 MB / 466.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2108, allocations: 7.984 kB / 466.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.2108, allocations: 23.88 kB / 466.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2108, allocations: 16 kB / 466.3 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/0.2115, allocations: 433.5 kB / 466.7 MB, free: 3.301 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.001051/0.2125, allocations: 1.964 MB / 468.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.2132, allocations: 426.7 kB / 469.1 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.2133, allocations: 76.36 kB / 469.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02905/0.2423, allocations: 17.55 MB / 486.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2423, allocations: 33.39 kB / 486.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.2423, allocations: 0 / 486.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003137/0.2455, allocations: 1.604 MB / 488.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2455, allocations: 106.8 kB / 488.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2457, allocations: 390.6 kB / 488.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.2458, allocations: 29.7 kB / 488.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2459, allocations: 343 kB / 489.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.246, allocations: 115.1 kB / 489.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2461, allocations: 99.09 kB / 489.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2462, allocations: 0.5235 MB / 489.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2464, allocations: 160.4 kB / 490.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.2466, allocations: 279.7 kB / 490.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.247, allocations: 382.5 kB / 490.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.247, allocations: 0 / 490.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001024/0.248, allocations: 0.7148 MB / 491.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.248, allocations: 11.94 kB / 491.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.248, allocations: 3.984 kB / 491.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.2492, allocations: 0.5396 MB / 492 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.2493, allocations: 38.17 kB / 492 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2506, allocations: 1.974 MB / 494 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2507, allocations: 11.98 kB / 494 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2507, allocations: 27.98 kB / 494.1 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002291/0.251, allocations: 270.8 kB / 494.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002172/0.2512, allocations: 288.9 kB / 494.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003586/0.2515, allocations: 385.6 kB / 495 MB, free: 6.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2515, allocations: 0 / 495 MB, free: 6.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0009236/0.2525, allocations: 0.6951 MB / 495.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.2525, allocations: 8 kB / 495.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.2525, allocations: 0 / 495.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007823/0.2533, allocations: 475 kB / 496.1 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.2533, allocations: 43.92 kB / 496.2 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.2544, allocations: 1.939 MB / 498.1 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2546, allocations: 12 kB / 498.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.2546, allocations: 27.97 kB / 498.2 MB, free: 3.277 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 0.0001101/0.2547, allocations: 291.9 kB / 498.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.2548, allocations: 51.83 kB / 498.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.2566, allocations: 1.872 MB / 0.4886 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2566, allocations: 11.98 kB / 0.4887 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2566, allocations: 8 kB / 0.4887 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2567, allocations: 6.875 kB / 0.4887 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.2589, allocations: 2.812 MB / 0.4914 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2589, allocations: 3.938 kB / 0.4914 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.259, allocations: 43.92 kB / 0.4915 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.2601, allocations: 338.4 kB / 0.4918 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.2601, allocations: 12 kB / 0.4918 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.2618, allocations: 3.523 MB / 0.4952 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2618, allocations: 0 / 0.4952 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.264, allocations: 2.484 MB / 0.4977 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.264, allocations: 55.56 kB / 0.4977 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.2641, allocations: 8 kB / 0.4977 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2642, allocations: 15.98 kB / 0.4977 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.2643, allocations: 27.94 kB / 0.4978 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2643, allocations: 12 kB / 0.4978 GB, free: 7.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2644, allocations: 259 kB / 0.498 GB, free: 7.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2644, allocations: 0 / 0.498 GB, free: 7.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001699/0.2661, allocations: 0.9907 MB / 0.499 GB, free: 6.09 MB / 378.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.002203/0.2683, allocations: 1.105 MB / 0.5001 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.2695, allocations: 0.7236 MB / 0.5008 GB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2695, allocations: 4.062 kB / 0.5008 GB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.27, allocations: 422.8 kB / 0.5012 GB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.2707, allocations: 241.7 kB / 0.5014 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2724, allocations: 1.193 MB / 0.5026 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.2725, allocations: 134.8 kB / 0.5027 GB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.2727, allocations: 103.2 kB / 0.5028 GB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.2727, allocations: 32.5 kB / 0.5028 GB, free: 2.059 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2727, allocations: 0 / 0.5028 GB, free: 2.059 MB / 378.7 MB Notification: Performance of Templates: time 0.04181/0.3145, allocations: 40.98 MB / 0.5429 GB, free: 9.195 MB / 426.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.21563998516649]