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.0009631/0.0009631, 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.0009048/0.0009048, allocations: 167.1 kB / 24.99 MB, free: 8.336 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.8619/0.8619, allocations: 158.6 MB / 186.8 MB, free: 2.891 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.2223/0.2223, allocations: 36.33 MB / 275.4 MB, free: 10.73 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 2.084e-06/2.084e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.421e-05, allocations: 3.438 kB / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.04798/0.048, allocations: 57.65 MB / 411.4 MB, free: 9.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009477/0.05748, allocations: 10.52 MB / 422 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.05788, allocations: 15.88 kB / 422 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.05858, allocations: 274 kB / 422.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.05908, allocations: 369.2 kB / 422.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009098/0.06818, allocations: 5.062 MB / 427.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.06914, allocations: 0.9998 MB / 428.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.06957, allocations: 269.1 kB / 428.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.0701, allocations: 0.4987 MB / 429.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.07043, allocations: 303.1 kB / 429.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.07048, allocations: 40 kB / 429.8 MB, free: 7.527 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007663/0.07814, allocations: 6.051 MB / 435.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.07824, allocations: 103.5 kB / 435.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.07844, allocations: 199.6 kB / 436.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1411/0.2195, allocations: 4.777 MB / 440.9 MB, free: 25.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2195, allocations: 3.562 kB / 440.9 MB, free: 25.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2195, allocations: 0 / 440.9 MB, free: 25.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.2195, allocations: 0 / 440.9 MB, free: 25.89 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003423/0.2229, allocations: 1.297 MB / 442.2 MB, free: 25.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.223, allocations: 13.94 kB / 442.2 MB, free: 25.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.2234, allocations: 165.9 kB / 442.4 MB, free: 25.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.2238, allocations: 324.2 kB / 442.7 MB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2238, allocations: 33 kB / 442.7 MB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.2239, allocations: 46.05 kB / 442.8 MB, free: 24.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.225, allocations: 0.6758 MB / 443.4 MB, free: 24.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.225, allocations: 1.094 kB / 443.4 MB, free: 24.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.225, allocations: 24.47 kB / 443.5 MB, free: 24.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.225, allocations: 9.156 kB / 443.5 MB, free: 24.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/0.2258, allocations: 415.1 kB / 443.9 MB, free: 24.72 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.001338/0.2272, allocations: 1.604 MB / 445.5 MB, free: 23.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008132/0.228, allocations: 418.4 kB / 445.9 MB, free: 23.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2281, allocations: 84.91 kB / 446 MB, free: 23.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02815/0.2562, allocations: 16.8 MB / 462.8 MB, free: 22.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.2563, allocations: 40.86 kB / 462.8 MB, free: 22.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.2563, allocations: 0 / 462.8 MB, free: 22.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003285/0.2596, allocations: 1.563 MB / 464.4 MB, free: 22.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2596, allocations: 110.5 kB / 464.5 MB, free: 22.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.2598, allocations: 340.3 kB / 464.8 MB, free: 21.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.2598, allocations: 33.77 kB / 464.8 MB, free: 21.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2599, allocations: 296.9 kB / 465.1 MB, free: 21.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.26, allocations: 118.3 kB / 465.2 MB, free: 21.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2601, allocations: 97.8 kB / 465.3 MB, free: 21.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.2602, allocations: 0.5183 MB / 465.9 MB, free: 21.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2603, allocations: 156.2 kB / 466 MB, free: 21.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2606, allocations: 294.9 kB / 466.3 MB, free: 20.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2609, allocations: 384.7 kB / 466.7 MB, free: 20.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2609, allocations: 0 / 466.7 MB, free: 20.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001013/0.2619, allocations: 0.7396 MB / 467.4 MB, free: 20.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.262, allocations: 7.812 kB / 467.4 MB, free: 20.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.262, allocations: 6.609 kB / 467.4 MB, free: 20.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.2631, allocations: 0.5373 MB / 468 MB, free: 20.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.2632, allocations: 38.14 kB / 468 MB, free: 20.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.264, allocations: 1.197 MB / 469.2 MB, free: 19.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2642, allocations: 16.23 kB / 469.2 MB, free: 19.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.2642, allocations: 28.3 kB / 469.2 MB, free: 19.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002087/0.2644, allocations: 282.3 kB / 469.5 MB, free: 19.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001791/0.2646, allocations: 280.6 kB / 469.8 MB, free: 19.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000322/0.2649, allocations: 376 kB / 470.2 MB, free: 19.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.2649, allocations: 0 / 470.2 MB, free: 19.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.00084/0.2657, allocations: 0.6658 MB / 470.8 MB, free: 18.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.2657, allocations: 11.88 kB / 470.8 MB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.2657, allocations: 4.188 kB / 470.8 MB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007441/0.2665, allocations: 488.8 kB / 471.3 MB, free: 18.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.2666, allocations: 44.47 kB / 471.4 MB, free: 18.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.2674, allocations: 1.153 MB / 472.5 MB, free: 17.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2675, allocations: 17.56 kB / 472.5 MB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.2676, allocations: 27.47 kB / 472.6 MB, free: 17.65 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 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.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 9.934e-05/0.2677, allocations: 288.2 kB / 472.8 MB, free: 17.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.2677, allocations: 47.39 kB / 472.9 MB, free: 17.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.2692, allocations: 1.864 MB / 474.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2692, allocations: 11.98 kB / 474.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2692, allocations: 3.938 kB / 474.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2692, allocations: 3.984 kB / 474.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.2712, allocations: 2.768 MB / 477.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2712, allocations: 0 / 477.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.2715, allocations: 78.09 kB / 477.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009368/0.2724, allocations: 301.7 kB / 477.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.2724, allocations: 13.98 kB / 477.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.2738, allocations: 3.612 MB / 481.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2738, allocations: 0 / 481.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2754, allocations: 2.472 MB / 484 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.2755, allocations: 47.2 kB / 484.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.2755, allocations: 7.562 kB / 484.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2756, allocations: 19.22 kB / 484.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.2757, allocations: 27.67 kB / 484.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2757, allocations: 14.98 kB / 484.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.2758, allocations: 233.5 kB / 484.3 MB, free: 6.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2758, allocations: 4 kB / 484.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003053/0.2789, allocations: 0.9671 MB / 485.3 MB, free: 5.355 MB / 362.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.2818, allocations: 1.087 MB / 486.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.283, allocations: 0.7043 MB / 487.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.283, allocations: 4 kB / 487.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.2837, allocations: 446.4 kB / 487.5 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.2843, allocations: 204.6 kB / 487.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2857, allocations: 1.095 MB / 488.8 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.517e-05/0.2857, allocations: 126.8 kB / 489 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.2859, allocations: 90.88 kB / 489.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.286, allocations: 28.5 kB / 489.1 MB, free: 1.844 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.286, allocations: 4 kB / 489.1 MB, free: 1.84 MB / 362.7 MB Notification: Performance of Templates: time 0.04036/0.3263, allocations: 40.12 MB / 0.5168 GB, free: 9.895 MB / 410.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.481810241937637]