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.001671/0.001671, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00171/0.00171, allocations: 157.7 kB / 24.27 MB, free: 172 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 1.463/1.463, allocations: 158.6 MB / 186.1 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.3295/0.3295, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.734e-06/1.734e-06, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.096e-05, allocations: 2.312 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.08748/0.08751, allocations: 65.96 MB / 419 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.1048, allocations: 9.635 MB / 428.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.1061, allocations: 23.81 kB / 428.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.1077, allocations: 329.6 kB / 429 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.109, allocations: 460.7 kB / 429.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.018/0.127, allocations: 5.384 MB / 434.8 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.1298, allocations: 1.237 MB / 436.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008123/0.1306, allocations: 333.6 kB / 436.4 MB, free: 136 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1927/0.3233, allocations: 0.6087 MB / 437 MB, free: 19.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.324, allocations: 382.6 kB / 437.4 MB, free: 19.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.3241, allocations: 44.47 kB / 437.4 MB, free: 19.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.3374, allocations: 6.05 MB / 443.5 MB, free: 19.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.3377, allocations: 124.8 kB / 443.6 MB, free: 19.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006238/0.3383, allocations: 236.3 kB / 443.8 MB, free: 19.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.3506, allocations: 5 MB / 448.8 MB, free: 19.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3506, allocations: 3.875 kB / 448.8 MB, free: 19.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3506, allocations: 0 / 448.8 MB, free: 19.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3506, allocations: 0 / 448.8 MB, free: 19.72 MB / 362.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.00415/0.3547, allocations: 1.294 MB / 450.1 MB, free: 19.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.3548, allocations: 8.5 kB / 450.1 MB, free: 19.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.3554, allocations: 186.8 kB / 450.3 MB, free: 19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.3561, allocations: 381.1 kB / 450.7 MB, free: 18.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.3561, allocations: 37.19 kB / 450.7 MB, free: 18.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.36e-05/0.3562, allocations: 51.8 kB / 450.8 MB, free: 18.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.3577, allocations: 0.7379 MB / 451.5 MB, free: 18.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3577, allocations: 0.7188 kB / 451.5 MB, free: 18.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.3578, allocations: 21.91 kB / 451.5 MB, free: 18.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3578, allocations: 12.47 kB / 451.5 MB, free: 18.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.3591, allocations: 0.5243 MB / 452.1 MB, free: 18.62 MB / 362.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.002132/0.3613, allocations: 1.624 MB / 453.7 MB, free: 17.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3625, allocations: 411.2 kB / 454.1 MB, free: 17.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.3627, allocations: 127 kB / 454.2 MB, free: 17.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05355/0.4163, allocations: 16.81 MB / 471 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4163, allocations: 37.88 kB / 471.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.4163, allocations: 0 / 471.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.00594/0.4223, allocations: 1.668 MB / 472.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.4223, allocations: 106.8 kB / 472.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.4226, allocations: 342.5 kB / 473.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.4227, allocations: 37.14 kB / 473.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.4228, allocations: 298.5 kB / 473.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.4229, allocations: 110.6 kB / 473.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.4231, allocations: 90.34 kB / 473.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.4231, allocations: 352 kB / 474 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.4234, allocations: 164.1 kB / 474.2 MB, free: 9.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.4238, allocations: 283.7 kB / 474.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.4244, allocations: 372.1 kB / 474.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4244, allocations: 0 / 474.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001823/0.4262, allocations: 0.7441 MB / 475.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4262, allocations: 7.938 kB / 475.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4262, allocations: 0 / 475.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.4285, allocations: 0.5321 MB / 476.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4286, allocations: 31.97 kB / 476.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.4301, allocations: 1.516 MB / 477.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.4304, allocations: 14.78 kB / 477.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.4305, allocations: 24.3 kB / 477.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004088/0.4309, allocations: 275.4 kB / 478 MB, free: 6.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002898/0.4312, allocations: 269.5 kB / 478.2 MB, free: 6.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005352/0.4317, allocations: 365.2 kB / 478.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.4317, allocations: 0 / 478.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001593/0.4333, allocations: 0.6911 MB / 479.3 MB, free: 5.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4333, allocations: 8 kB / 479.3 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4333, allocations: 0 / 479.3 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.4348, allocations: 460.1 kB / 479.7 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.4349, allocations: 35.98 kB / 479.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.4367, allocations: 1.447 MB / 481.2 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.437, allocations: 11.36 kB / 481.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.437, allocations: 27.11 kB / 481.3 MB, free: 4.164 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.0001704/0.4372, allocations: 204.5 kB / 481.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.4373, allocations: 51.45 kB / 481.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.4406, allocations: 3.187 MB / 484.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.4406, allocations: 10.98 kB / 484.7 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4406, allocations: 4 kB / 484.7 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4406, allocations: 6.844 kB / 484.7 MB, free: 1.891 MB / 362.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 postOpt removeSimpleEquations (simulation): time 0.005206/0.4458, allocations: 4.515 MB / 489.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4459, allocations: 7.938 kB / 489.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.4461, allocations: 43.44 kB / 489.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003993/0.4501, allocations: 1.309 MB / 490.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.4501, allocations: 13.95 kB / 490.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/0.4543, allocations: 2.716 MB / 493.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4543, allocations: 0 / 493.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/0.4606, allocations: 4.224 MB / 497.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.4608, allocations: 53.23 kB / 497.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.4609, allocations: 8 kB / 497.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.4612, allocations: 16.02 kB / 497.6 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4613, allocations: 27.95 kB / 497.7 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4614, allocations: 15.98 kB / 497.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003829/0.4618, allocations: 239.1 kB / 497.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4618, allocations: 0 / 497.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004324/0.4661, allocations: 0.9907 MB / 498.9 MB, free: 5.086 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.005118/0.4712, allocations: 1.096 MB / 500 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.4741, allocations: 0.7718 MB / 0.489 GB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4741, allocations: 0 / 0.489 GB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.4755, allocations: 443.9 kB / 0.4895 GB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.4769, allocations: 228.3 kB / 0.4897 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.4795, allocations: 1.283 MB / 0.4909 GB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4799, allocations: 289 kB / 0.4912 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.4802, allocations: 101.2 kB / 0.4913 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.4803, allocations: 32.5 kB / 0.4913 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4803, allocations: 0 / 0.4913 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of Templates: time 0.06828/0.5486, allocations: 40.14 MB / 0.5305 GB, free: 8.883 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.906619098037481]