Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.0008733/0.0008733, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.0009704/0.0009704, allocations: 169.9 kB / 25.61 MB, free: 8.914 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.8849/0.8849, allocations: 158.6 MB / 187.5 MB, free: 2.824 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.1681/0.1681, allocations: 36.34 MB / 276.2 MB, free: 14.36 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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 355.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.145e-05, allocations: 4.781 kB / 355.1 MB, free: 62.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.01289/0.0129, allocations: 15.73 MB / 370.8 MB, free: 52.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007172/0.02008, allocations: 9.009 MB / 379.8 MB, free: 45.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.02035, allocations: 14.75 kB / 379.8 MB, free: 45.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.02073, allocations: 142 kB / 379.9 MB, free: 45.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.0211, allocations: 362.1 kB / 380.3 MB, free: 45.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008324/0.02943, allocations: 4.521 MB / 384.8 MB, free: 41.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.03013, allocations: 0.9921 MB / 385.8 MB, free: 40.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.0305, allocations: 273.6 kB / 386.1 MB, free: 39.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.03098, allocations: 482.9 kB / 386.6 MB, free: 39.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.03127, allocations: 311.1 kB / 386.9 MB, free: 39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.03131, allocations: 39.94 kB / 386.9 MB, free: 38.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/0.03734, allocations: 5.912 MB / 392.8 MB, free: 33.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.03741, allocations: 99.53 kB / 392.9 MB, free: 32.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.03753, allocations: 199.6 kB / 393.1 MB, free: 32.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.04202, allocations: 4.634 MB / 397.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.04202, allocations: 0 / 397.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.04203, allocations: 0 / 397.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.04203, allocations: 0 / 397.7 MB, free: 28.1 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001587/0.04362, allocations: 1.272 MB / 399 MB, free: 26.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.04365, allocations: 12.03 kB / 399 MB, free: 26.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.04394, allocations: 172.4 kB / 399.2 MB, free: 26.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.0442, allocations: 322.8 kB / 399.5 MB, free: 26.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.04422, allocations: 33.38 kB / 399.5 MB, free: 26.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.04426, allocations: 44.38 kB / 399.6 MB, free: 26.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.04495, allocations: 0.6395 MB / 400.2 MB, free: 25.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.04497, allocations: 3.938 kB / 400.2 MB, free: 25.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.04499, allocations: 16 kB / 400.2 MB, free: 25.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.045, allocations: 8 kB / 400.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.04559, allocations: 359.3 kB / 400.6 MB, free: 25.11 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.0009605/0.04655, allocations: 1.552 MB / 402.1 MB, free: 23.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.0471, allocations: 396.5 kB / 402.5 MB, free: 23.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.04716, allocations: 75.64 kB / 402.6 MB, free: 23.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/0.06996, allocations: 14.6 MB / 417.2 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.06999, allocations: 46.2 kB / 417.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.06999, allocations: 0 / 417.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.002554/0.07255, allocations: 1.406 MB / 418.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.07257, allocations: 106.8 kB / 418.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.0727, allocations: 342.6 kB / 419.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.07272, allocations: 29.7 kB / 419.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.07281, allocations: 311.1 kB / 419.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.07286, allocations: 111 kB / 419.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.07295, allocations: 107.3 kB / 419.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.07301, allocations: 0.5195 MB / 420.2 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.07312, allocations: 128.7 kB / 420.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.07326, allocations: 268.3 kB / 420.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.0735, allocations: 327.3 kB / 420.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0735, allocations: 11.97 kB / 420.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000797/0.0743, allocations: 0.6626 MB / 421.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.07431, allocations: 7.125 kB / 421.6 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.07432, allocations: 4 kB / 421.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.07546, allocations: 0.5294 MB / 422.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.07554, allocations: 31.98 kB / 422.1 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.07626, allocations: 1.188 MB / 423.3 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.07638, allocations: 15.94 kB / 423.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.07641, allocations: 23.97 kB / 423.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001568/0.07657, allocations: 249.2 kB / 423.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001291/0.07669, allocations: 264.4 kB / 423.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003647/0.07706, allocations: 333.6 kB / 424.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.07706, allocations: 0 / 424.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0007392/0.0778, allocations: 0.6127 MB / 424.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.07781, allocations: 7.938 kB / 424.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.07781, allocations: 4 kB / 424.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/0.07849, allocations: 464.7 kB / 425.2 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.0786, allocations: 43.97 kB / 425.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009346/0.07953, allocations: 1.142 MB / 426.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.07964, allocations: 11.98 kB / 426.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.07967, allocations: 23.98 kB / 426.5 MB, free: 14.79 MB / 346.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 (Mixer1.fluidState.phase,PressDrop1.state.phase,Header1.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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.0798, allocations: 284 kB / 426.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.07987, allocations: 47.77 kB / 426.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.08142, allocations: 1.621 MB / 428.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.08143, allocations: 12 kB / 428.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.08144, allocations: 11.86 kB / 428.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.08144, allocations: 4 kB / 428.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.08353, allocations: 2.477 MB / 430.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.08354, allocations: 4 kB / 430.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.0838, allocations: 74.25 kB / 431 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.08492, allocations: 314.7 kB / 431.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.08494, allocations: 8 kB / 431.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.08683, allocations: 3.581 MB / 434.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.08683, allocations: 192 / 434.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.08853, allocations: 2.129 MB / 437 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.08856, allocations: 51.55 kB / 437.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.0886, allocations: 8 kB / 437.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.08873, allocations: 23.97 kB / 437.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.08879, allocations: 23.95 kB / 437.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.08881, allocations: 8.609 kB / 437.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.08891, allocations: 227 kB / 437.4 MB, free: 3.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08891, allocations: 0 / 437.4 MB, free: 3.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002377/0.09128, allocations: 0.9595 MB / 438.3 MB, free: 2.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {2, 1} * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/0.0942, allocations: 1.105 MB / 439.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.09532, allocations: 0.637 MB / 440.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.09532, allocations: 4.062 kB / 440.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.09601, allocations: 419.7 kB / 440.5 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.09671, allocations: 206 kB / 440.7 MB, free: 216 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.09816, allocations: 1.073 MB / 441.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.517e-05/0.09824, allocations: 126.8 kB / 441.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.0984, allocations: 86.88 kB / 442 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.09862, allocations: 198.1 kB / 442.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.09862, allocations: 4 kB / 442.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Templates: time 0.04192/0.1405, allocations: 45.77 MB / 487.9 MB, free: 0.8477 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8846768219955266]